 local _ if (GetLocale() == "zhCN") then BIGFOOTBOT_TITLE = {"信息收集", "xinxishouji"}; BIGFOOTBOT_ENABLE_TEXT = "开启信息收集功能"; BIGFOOTBOT_OPENING = "开启"; BIGFOOTBOT_OPENING2 = "Opening"; BIGFOOTBOT_MINING = "采矿"; BIGFOOTBOT_HERBGATHERING = "采集草药"; BIGFOOTBOT_LOCKPICKING = "开锁" BIGFOOTBOT_DISENCHANTING = "分解"; BIGFOOTBOT_AUCTION_HORDE = "" BIGFOOTBOT_AUCTION_ALLI = "" BIGFOOTBOT_AUCTION_NEUTRAL = "" elseif (GetLocale() == "zhTW") then BIGFOOTBOT_TITLE = {"資訊收集", "xinxishouji"}; BIGFOOTBOT_ENABLE_TEXT = "開啟資訊收集功能"; BIGFOOTBOT_OPENING = "開啟"; BIGFOOTBOT_OPENING2 = "Opening"; BIGFOOTBOT_MINING = "採礦"; BIGFOOTBOT_HERBGATHERING = "採集草藥"; BIGFOOTBOT_LOCKPICKING = "開鎖" BIGFOOTBOT_DISENCHANTING = "分解"; BIGFOOTBOT_AUCTION_HORDE = "" BIGFOOTBOT_AUCTION_ALLI = "" BIGFOOTBOT_AUCTION_NEUTRAL = "" else BIGFOOTBOT_TITLE = {"BigFootBot"}; BIGFOOTBOT_ENABLE_TEXT = "Enable BigFootBot"; BIGFOOTBOT_OPENING = "Open"; BIGFOOTBOT_OPENING2 = "Opening"; BIGFOOTBOT_MINING = "Mining"; BIGFOOTBOT_HERBGATHERING = "Herb Gathering"; BIGFOOTBOT_LOCKPICKING = "Unlock" BIGFOOTBOT_DISENCHANTING = "Disenchant"; BIGFOOTBOT_AUCTION_HORDE = "" BIGFOOTBOT_AUCTION_ALLI = "" BIGFOOTBOT_AUCTION_NEUTRAL = "" end BigFootBot_Info = nil; BigFootBot_Version = {}; UtilDB = {}; QuestDB = {}; CreatureDB = {}; PlayersDB = {}; QuestEventDB = {}; ItemSourceDB = {}; SkillSourceDB = {}; QuestCompleteDB = {}; ObjectLocationDB = {}; CreatureLocationDB = {}; NPCMarkCollectionDB = {}; BigFootBot_collectData = {} SpamChatDB = {}; local BigFootBot_17b0f94858767a7d425ab5ed1f2e522f = nil; local TmpPlayersDB = {}; local TmpNPCMarkCollectionDB = {}; local BigFootBot_533e4ad89cbcf130c2f8f094f76ee029 = {}; local BigFootBot_c3904b1a4069e446af4b2126d2a2be6e = {}; local BigFootBot_aff9d44757eda069e077ec751873021e = nil; local BigFootBot_ff9016693c0b7766229785abb17eee87 = {}; BigFootBot_bdc9ae74688c4995a22e5ff111f31b80 = {}; local BigFootBot_78cbf4f1105e83c335c8cd6688825c1c = 2.0; local BigFootBot_cd15a77b8ad10a4715e8964882da45df = nil; local BigFootBot_07eb3f3f11fe5173ea6ee0350c0184b7 = GetTitleText; local BigFootBot_4f0e084e618c9626457da4217c865f2e = GetNumQuestLogEntries; local BigFootBot_e930e62703f7c195b12631c515878413 = GetQuestLogTitle; local BigFootBot_f9502a8d8c8cdcfddbfafe0397e93417 = UnitName; local BigFootBot_3f1137a413f32f0b109ed9f5ad7a96e3 = UnitGUID; local BigFootBot_1d43aa2171c37ff528d29a2293f62cdf = GetNumGossipAvailableQuests; local BigFootBot_94039884816a990ddd93db4a0b61c8b6 = GetNumGossipActiveQuests; local BigFootBot_90c53aa2fa771b888bc0646d24ea6837 = GetMerchantNumItems; local BigFootBot_32e3aee84288fa1096e50bf63e76ea51 = GetMerchantItemInfo; local BigFootBot_8fb57602605f7da833ccfb07c330b6a3 = GetLootSlotInfo; local BigFootBot_ac23b5017201134b5d5042f1e3f3733d = GetTradeSkillInfo; local BigFootBot_e9e6cfc71dcf726511101288d247855e = GetTrainerServiceInfo; local BigFootBot_762fa70c9ab0a8fcc5316227121f2092 = GetNumTradeSkills; local BigFootBot_bb7e0e7577c06282b4ccf8864cd5ebf6 = GetNumTrainerServices; local BigFootBot_5db357e279281922a440bcfd0fd60b5c = CheckInteractDistance; local BigFootBot_d6a9fd3758dfb8c99bdf0c7ee6a2138c = UnitClassification; local BigFootBot_927d2698e1f931fce0eb9341fdc139db = UnitIsDead; local BigFootBot_af299b66b714765bc68ba44994a46106 = UnitIsPlayer; local BigFootBot_94eb75d518becde368e2486ad53c9cc9 = UnitExists; local BigFootBot_5705b866f02d81e7ac7b5756b464e48d = LootSlotIsItem; local BigFootBot_cedb5595b0ae95f6d50712441c5517ee = GetNumLootItems; local BigFootBot_74f4eee09888000b2b20168a3f120cfa = IsFishingLoot; local BigFootBot_ae357dfdce331ee8adbee61d0c4b16ad = UnitPlayerControlled; local BigFootBot_6f0ef82ec67215de30877daf1ab39370 = UnitReaction; local BigFootBot_eb8c30e8341a231bec51d9f153e7f02e = UnitFactionGroup; local BigFootBot_8ea683b3c13e8d3cce29608dcc337aed = IsInInstance; local BigFootBot_6e4fa43c2b95f032fe711f170619825c = GetRealZoneText; local BigFootBot_b7014d3a029ea94c4cff07b6bf4e9f12 = GetSubZoneText; local BigFootBot_f7e089cf058e6eb29c91dd9e5c99e281 = GetPlayerMapPosition; local BigFootBot_037a9cf7b2ec50115f2f8329dd04840d = GetNumFactions; local BigFootBot_8fc4b7e1a0de79e749494692f6af7d8b = GetFactionInfo; local BigFootBot_47426f535759f6db8b89b80d0f72a943 = GetCVar; local BigFootBot_995463cbd5fce5d50e97d63befbd191c = UnitLevel; local BigFootBot_3e9576ac1a6eb24bd30b6d93d7303c34 = GetMapInfo; local BigFootBot_9efc9fbd937b25cbca32b83e34ae4e40 = GetMerchantItemLink; local BigFootBot_d379ce8f171f0a29df1d1953007df4e8 = GetLootSlotLink; local BigFootBot_93f078de9bdbd0cc11478b356a6e48f9 = GetCraftItemLink; local BigFootBot_05e9bcf1d8563b0f4783349f9f102370 = GetTradeSkillRecipeLink; local BigFootBot_baebfebce904f8cf7dedd84848b219a9 = UnitRace; local BigFootBot_f2b8dd984cda6834f1ec004eb3c3503f = UnitClass; local BigFootBot_457d4e7ff5d655ff965809ce2a1a790b = UnitSex; local BigFootBot_f0760207cb304f92c53177e2cdc075c6 = GetGuildInfo; function BigFootBot_67513eece7a95dd3b527cfc3a5f17105(BigFootBot_c9bd86bc8bc59457d49315cf5b8c5b88) if (not BigFootBot_c9bd86bc8bc59457d49315cf5b8c5b88) then return; end local BigFootBot_d0708241b607c9a9dd1953c812fadfb7 = BigFootBot_8b65ea8ceadecff5381add26c13a7280(ERR_QUEST_ADD_KILL_SII, BigFootBot_c9bd86bc8bc59457d49315cf5b8c5b88); if (not BigFootBot_d0708241b607c9a9dd1953c812fadfb7) then BigFootBot_d0708241b607c9a9dd1953c812fadfb7 = BigFootBot_8b65ea8ceadecff5381add26c13a7280(ERR_QUEST_ADD_FOUND_SII, BigFootBot_c9bd86bc8bc59457d49315cf5b8c5b88); end if (not BigFootBot_d0708241b607c9a9dd1953c812fadfb7) then BigFootBot_d0708241b607c9a9dd1953c812fadfb7 = BigFootBot_8b65ea8ceadecff5381add26c13a7280(ERR_QUEST_ADD_ITEM_SII, BigFootBot_c9bd86bc8bc59457d49315cf5b8c5b88); end if (not BigFootBot_d0708241b607c9a9dd1953c812fadfb7) then BigFootBot_d0708241b607c9a9dd1953c812fadfb7 = BigFootBot_8b65ea8ceadecff5381add26c13a7280(ERR_QUEST_OBJECTIVE_COMPLETE_S, BigFootBot_c9bd86bc8bc59457d49315cf5b8c5b88); end if (not BigFootBot_d0708241b607c9a9dd1953c812fadfb7) then return; end local BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BMath:MD5(BigFootBot_d0708241b607c9a9dd1953c812fadfb7); local BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0, BigFootBot_9b21086ce030e389c80d9ac05fe53121, BigFootBot_b254e387cf58e982ba24fcb3e8a63995, BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf = BigFootBot_39ccb9dd96cbf64a01ea8fae451c8a33(); if (BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0 and BigFootBot_b254e387cf58e982ba24fcb3e8a63995 and BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf) then if (BigFootBot_8d0febf2348ea712b2b375ae95601d5f and not QuestEventDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]) then QuestEventDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f] = {}; QuestEventDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["name"] = BigFootBot_d0708241b607c9a9dd1953c812fadfb7; QuestEventDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["continent_id"] = BigFootBot_fba439f8daa25c72842963d3dba5afaf; QuestEventDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["zone"] = BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0; QuestEventDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["subzone"] = BigFootBot_9b21086ce030e389c80d9ac05fe53121; QuestEventDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["x"] = BigFootBot_b254e387cf58e982ba24fcb3e8a63995; QuestEventDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["y"] = BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf; BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[StoreEvent] : ", QuestEventDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]); end end end function BigFootBot_26dfcf5c62245c63cdaf246a2a4a690f(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_f897f2e099a64c92cc66909fc41d8477) local BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c; if (not BigFootBot_8d0febf2348ea712b2b375ae95601d5f or not BigFootBot_f897f2e099a64c92cc66909fc41d8477) then return; end if (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "drop") then BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_8d0febf2348ea712b2b375ae95601d5f..BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"]..(BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"] or "")); elseif (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "item") then BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_8d0febf2348ea712b2b375ae95601d5f..BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"]..(BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"] or "")); elseif (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "mining") then BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_8d0febf2348ea712b2b375ae95601d5f..BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"]..(BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"] or "")); elseif (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "gathering") then BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_8d0febf2348ea712b2b375ae95601d5f..BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"]..(BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"] or "")); elseif (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "disenchanting") then BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_8d0febf2348ea712b2b375ae95601d5f..BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"]..(BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"] or "")); elseif (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "merchant") then BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_8d0febf2348ea712b2b375ae95601d5f..BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"]..(BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"] or "")); elseif (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "craft") then BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_8d0febf2348ea712b2b375ae95601d5f..BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"]..BigFootBot_f897f2e099a64c92cc66909fc41d8477["skill"]); elseif (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "fishing") then BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_8d0febf2348ea712b2b375ae95601d5f..BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"]..BigFootBot_f897f2e099a64c92cc66909fc41d8477["zone"]..BigFootBot_f897f2e099a64c92cc66909fc41d8477["x"]..BigFootBot_f897f2e099a64c92cc66909fc41d8477["y"]); elseif (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "object") then BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_8d0febf2348ea712b2b375ae95601d5f..BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"]..(BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"] or "")); else return; end return BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c; end function BigFootBot_e9fb41ebc2cf4ab1a2e4a6a3ea3b62f7(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_f897f2e099a64c92cc66909fc41d8477) local BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_26dfcf5c62245c63cdaf246a2a4a690f(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_f897f2e099a64c92cc66909fc41d8477); if (BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c) then if (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "drop") then local BigFootBot_6328411747b69ec0bc0fe5e74473fc1f; if (not ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]) then ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c] = {}; ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["count"] = 0; end if (BigFootBot_f897f2e099a64c92cc66909fc41d8477["corpse_id"]) then BigFootBot_6328411747b69ec0bc0fe5e74473fc1f = BigFootBot_f897f2e099a64c92cc66909fc41d8477["corpse_id"]; BigFootBot_f897f2e099a64c92cc66909fc41d8477["corpse_id"] = nil; end if (BigFootBot_6328411747b69ec0bc0fe5e74473fc1f) then if (BigFootBot_533e4ad89cbcf130c2f8f094f76ee029[BigFootBot_6328411747b69ec0bc0fe5e74473fc1f] ~= 2) then ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["quantity"] = BigFootBot_f897f2e099a64c92cc66909fc41d8477["quantity"] or 1; ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["count"] = ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["count"] + 1; BigFootBot_21f0b38330eefb093a878a1df52d90d8("kill", BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"], ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c], "total"); else return; end end elseif (BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "mining" or BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "gathering" or BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] == "disenchanting") then if (not ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]) then ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c] = {}; ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["count"] = 0; end ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["quantity"] = BigFootBot_f897f2e099a64c92cc66909fc41d8477["quantity"] or 1; ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["count"] = ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["count"] + 1; BigFootBot_21f0b38330eefb093a878a1df52d90d8(BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"], BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"], ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c], "total"); else if (ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]) then return; end ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c] = {}; end ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["id"] = BigFootBot_8d0febf2348ea712b2b375ae95601d5f; ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["source"] = BigFootBot_f897f2e099a64c92cc66909fc41d8477; BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[StoreItemSource] : ", ItemSourceDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]); end end function BigFootBot_f52a1d2463a19669e9d1f7c40e655455(BigFootBot_77856f8205e82f70609f7fc97f03abea, BigFootBot_776cc2335c5e051bd62524696424f056, BigFootBot_f897f2e099a64c92cc66909fc41d8477) local BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_77856f8205e82f70609f7fc97f03abea .. ":" .. (BigFootBot_776cc2335c5e051bd62524696424f056 or 0) .. ":" .. BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] .. ":" .. (BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"] or ""); if (not SkillSourceDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]) then SkillSourceDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f] = {}; SkillSourceDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["skill"] = BigFootBot_77856f8205e82f70609f7fc97f03abea; SkillSourceDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["rank"] = BigFootBot_776cc2335c5e051bd62524696424f056; SkillSourceDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["source"] = BigFootBot_f897f2e099a64c92cc66909fc41d8477; BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[StoreSkillSource] : ", SkillSourceDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]); end end function BigFootBot_12820045cabfadd468e45bf7af898c42(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_8983c60d66c8593ec7165ea9dbedb584) if (CreatureLocationDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]) then return; end local BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0, BigFootBot_9b21086ce030e389c80d9ac05fe53121, BigFootBot_b254e387cf58e982ba24fcb3e8a63995, BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf = BigFootBot_39ccb9dd96cbf64a01ea8fae451c8a33(); if (BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0) then CreatureLocationDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f] = {}; CreatureLocationDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["id"] = BigFootBot_8d0febf2348ea712b2b375ae95601d5f; CreatureLocationDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584; CreatureLocationDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["zone"] = BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0; CreatureLocationDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["subzone"] = BigFootBot_9b21086ce030e389c80d9ac05fe53121; CreatureLocationDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["x"] = BigFootBot_b254e387cf58e982ba24fcb3e8a63995; CreatureLocationDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["y"] = BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf; BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[StoreCreatureLocation] : ", CreatureLocationDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]); end end function BigFootBot_801f0b56b84b3be6bd76ec896617a3f4(BigFootBot_8983c60d66c8593ec7165ea9dbedb584) if (not BigFootBot_8983c60d66c8593ec7165ea9dbedb584 or BigFootBot_8983c60d66c8593ec7165ea9dbedb584 == "") then return; end if (ObjectLocationDB[BigFootBot_8983c60d66c8593ec7165ea9dbedb584]) then return; end local BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0, BigFootBot_9b21086ce030e389c80d9ac05fe53121, BigFootBot_b254e387cf58e982ba24fcb3e8a63995, BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf = BigFootBot_39ccb9dd96cbf64a01ea8fae451c8a33(); if (BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0) then ObjectLocationDB[BigFootBot_8983c60d66c8593ec7165ea9dbedb584] = {}; ObjectLocationDB[BigFootBot_8983c60d66c8593ec7165ea9dbedb584]["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584; ObjectLocationDB[BigFootBot_8983c60d66c8593ec7165ea9dbedb584]["zone"] = BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0; ObjectLocationDB[BigFootBot_8983c60d66c8593ec7165ea9dbedb584]["subzone"] = BigFootBot_9b21086ce030e389c80d9ac05fe53121; ObjectLocationDB[BigFootBot_8983c60d66c8593ec7165ea9dbedb584]["x"] = BigFootBot_b254e387cf58e982ba24fcb3e8a63995; ObjectLocationDB[BigFootBot_8983c60d66c8593ec7165ea9dbedb584]["y"] = BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf; BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[StoreObjectLocation] : ", ObjectLocationDB[BigFootBot_8983c60d66c8593ec7165ea9dbedb584]); end end function BigFootBot_3eb0b9ea39ec132c6d846c81c75c8a5c(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_8983c60d66c8593ec7165ea9dbedb584, BigFootBot_0db5ab7591386d733b59a51d951e85d0, BigFootBot_c563f0e90b41e682984a062bfdb28376, BigFootBot_0029c85edbb0629d15be4c2ffbf70e24, BigFootBot_9fc1a99638e222362f76a2986addc9f8, BigFootBot_3e58a4b5bbb8aecc32566315e1335bc4) if (not BigFootBot_8d0febf2348ea712b2b375ae95601d5f or not BigFootBot_8983c60d66c8593ec7165ea9dbedb584) then return; end if (CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]) then return; end CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f] = {}; CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["id"] = BigFootBot_8d0febf2348ea712b2b375ae95601d5f; CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584; CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["level"] = BigFootBot_0db5ab7591386d733b59a51d951e85d0; CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["reaction"] = BigFootBot_c563f0e90b41e682984a062bfdb28376; CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["faction_group"] = BigFootBot_0029c85edbb0629d15be4c2ffbf70e24; CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["faction"] = BigFootBot_9fc1a99638e222362f76a2986addc9f8; CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["pvp"] = BigFootBot_3e58a4b5bbb8aecc32566315e1335bc4; BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[StoreCreature] : ", CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]); end BigFootBot_2e9d35d60a9442222dff3cf526453aff = nil; BigFootBot_5483abb4f32490f785f220041570443d = nil; function BigFootBot_7fdf14736d057e6221a59c4418bd50f2(BigFootBot_b4d7c357a1bd1b17a08e8b09852d8334) return BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_b4d7c357a1bd1b17a08e8b09852d8334); end function BigFootBot_8431f7fbeaeaf1494191ee5e2a9c3dd6(BigFootBot_8983c60d66c8593ec7165ea9dbedb584, BigFootBot_c64510a3505e0d896935ce6b8bd44fd6, BigFootBot_5b379022334c7648b91ea2dccd7a986f) BigFootBot_2e9d35d60a9442222dff3cf526453aff = {}; BigFootBot_2e9d35d60a9442222dff3cf526453aff["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584; BigFootBot_2e9d35d60a9442222dff3cf526453aff["req_level"] = BigFootBot_c64510a3505e0d896935ce6b8bd44fd6; BigFootBot_2e9d35d60a9442222dff3cf526453aff["giver"] = BigFootBot_5b379022334c7648b91ea2dccd7a986f; BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[StoreQuest] : ", BigFootBot_2e9d35d60a9442222dff3cf526453aff); end function BigFootBot_47a25e47d086063b9c9cc8b130bf3226(BigFootBot_eab765600dfa4f607423084a1db7c624,BigFootBot_269b4b33933951030f0f99c2352fa1e8) if (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Orc") then return 1; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Tauren") then return 2; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Scourge") then return 3; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "BloodElf") then return 4; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Troll") then return 5; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Human") then return 6; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "NightElf") then return 7; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Dwarf") then return 8; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Gnome") then return 9; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Draenei") then return 10; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Worgen") then return 11; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Goblin") then return 12; elseif (BigFootBot_eab765600dfa4f607423084a1db7c624 == "Pandaren") then if BigFootBot_269b4b33933951030f0f99c2352fa1e8 then if BigFootBot_269b4b33933951030f0f99c2352fa1e8 == "Horde" then return 14 elseif BigFootBot_269b4b33933951030f0f99c2352fa1e8 == "Alliance" then return 15 else return 13 end else return 13 end end end function BigFootBot_7925a04079597ba791417a8a19d60fc3(BigFootBot_b962f54280c77029bc350c2b321adc64) if (BigFootBot_b962f54280c77029bc350c2b321adc64 == "WARLOCK") then return 1; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "WARRIOR") then return 2; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "PALADIN") then return 3; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "HUNTER") then return 4; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "ROGUE") then return 5; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "PRIEST") then return 6; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "DEATHKNIGHT") then return 7; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "SHAMAN") then return 8; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "MAGE") then return 9; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "DRUID") then return 10; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "MONK") then return 11; elseif (BigFootBot_b962f54280c77029bc350c2b321adc64 == "DEMONHUNTER") then return 12; end end function BigFootBot_7256bd8a4397c455e1c7c6eb877b735e(unit) if (BigFootBot_94eb75d518becde368e2486ad53c9cc9(unit) and BigFootBot_af299b66b714765bc68ba44994a46106(unit)) then local BigFootBot_8983c60d66c8593ec7165ea9dbedb584, BigFootBot_599c107a762647822597e54e6aafd6d2 = BigFootBot_f9502a8d8c8cdcfddbfafe0397e93417(unit); local BigFootBot_131c8fb31af04106e9dcd3b990f0d801 = BigFootBot_457d4e7ff5d655ff965809ce2a1a790b(unit); local BigFootBot_c5e8c4cb9b9475f5f1a79228e1e7ddb2, BigFootBot_eab765600dfa4f607423084a1db7c624 = BigFootBot_baebfebce904f8cf7dedd84848b219a9(unit); local BigFootBot_76617dfd171f72abab8377186c7acdcf, BigFootBot_b962f54280c77029bc350c2b321adc64 = BigFootBot_f2b8dd984cda6834f1ec004eb3c3503f(unit); local BigFootBot_0db5ab7591386d733b59a51d951e85d0 = BigFootBot_995463cbd5fce5d50e97d63befbd191c(unit); local BigFootBot_b380e1c631c032b1c92d5e8e054b3616 = BigFootBot_f0760207cb304f92c53177e2cdc075c6(unit); local BigFootBot_269b4b33933951030f0f99c2352fa1e8 = BigFootBot_eb8c30e8341a231bec51d9f153e7f02e(unit); if (not BigFootBot_599c107a762647822597e54e6aafd6d2) then BigFootBot_599c107a762647822597e54e6aafd6d2 = GetRealmName(); end if (BigFootBot_8983c60d66c8593ec7165ea9dbedb584 and BigFootBot_599c107a762647822597e54e6aafd6d2 and BigFootBot_599c107a762647822597e54e6aafd6d2 ~= "" and BigFootBot_eab765600dfa4f607423084a1db7c624 and BigFootBot_b962f54280c77029bc350c2b321adc64 and BigFootBot_131c8fb31af04106e9dcd3b990f0d801 and BigFootBot_0db5ab7591386d733b59a51d951e85d0 > 0) then local BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c = BigFootBot_8983c60d66c8593ec7165ea9dbedb584 .. ":" .. BigFootBot_599c107a762647822597e54e6aafd6d2; if (not PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c] and not TmpPlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]) then TmpPlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c] = true; end if (TmpPlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c] and (not PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c] or (not PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["guild"] and BigFootBot_b380e1c631c032b1c92d5e8e054b3616))) then PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c] = {}; PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584; PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["server"] = BigFootBot_599c107a762647822597e54e6aafd6d2; PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["gender"] = BigFootBot_131c8fb31af04106e9dcd3b990f0d801; PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["race"] = BigFootBot_47a25e47d086063b9c9cc8b130bf3226(BigFootBot_eab765600dfa4f607423084a1db7c624,BigFootBot_269b4b33933951030f0f99c2352fa1e8); PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["class"] = BigFootBot_7925a04079597ba791417a8a19d60fc3(BigFootBot_b962f54280c77029bc350c2b321adc64); PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["level"] = BigFootBot_0db5ab7591386d733b59a51d951e85d0; PlayersDB[BigFootBot_71ac8c04e9eae3efc1f0b8abcf51fc4c]["guild"] = BigFootBot_b380e1c631c032b1c92d5e8e054b3616; end end end end local function BigFootBot_d818d134e9a84a0317a401c4f9b56394() SetMapToCurrentZone(); local BigFootBot_2d8ff25b2888f058a5d1486167a7958d = GetCurrentMapZone(); if BigFootBot_2d8ff25b2888f058a5d1486167a7958d >0 then local BigFootBot_a190c73192fb348b1958a964b277b50f = GetCurrentMapDungeonLevel(); if BigFootBot_a190c73192fb348b1958a964b277b50f == 0 then BigFootBot_a190c73192fb348b1958a964b277b50f = 1 end return select(BigFootBot_2d8ff25b2888f058a5d1486167a7958d,GetMapZones(GetCurrentMapContinent())), BigFootBot_a190c73192fb348b1958a964b277b50f; end end function BigFootBot_5c07374875d7bab569936376df0e40c8() if (BigFootBot_94eb75d518becde368e2486ad53c9cc9("target") and not BigFootBot_af299b66b714765bc68ba44994a46106("target")) then if not NPCMarkCollectionDB or (NPCMarkCollectionDB and type(NPCMarkCollectionDB) ~= "table") then NPCMarkCollectionDB = {} end local BigFootBot_17f240807b4afb1806a354773155a082 = BigFootBot_5b122618d90b150b8238c05b2fb5758a("npc"); if not BigFootBot_17f240807b4afb1806a354773155a082 or TmpNPCMarkCollectionDB[BigFootBot_17f240807b4afb1806a354773155a082] then return end TmpNPCMarkCollectionDB[BigFootBot_17f240807b4afb1806a354773155a082] = true; NPCMarkCollectionDB[BigFootBot_17f240807b4afb1806a354773155a082] = {}; local BigFootBot_543c175753dac25d996d10445389c979 = {}; local BigFootBot_adf50fa6c4713aee1862a5c0c23c11ca, BigFootBot_a190c73192fb348b1958a964b277b50f = BigFootBot_d818d134e9a84a0317a401c4f9b56394(); if BigFootBot_adf50fa6c4713aee1862a5c0c23c11ca then BigFootBot_543c175753dac25d996d10445389c979.mapName = BigFootBot_adf50fa6c4713aee1862a5c0c23c11ca; end BigFootBot_543c175753dac25d996d10445389c979.mapLevel = BigFootBot_a190c73192fb348b1958a964b277b50f; local BigFootBot_447582228b34f5d2912effeba98507e2 = BigFootBot_f9502a8d8c8cdcfddbfafe0397e93417("target") BigFootBotTooltip:ClearLines(); BigFootBotTooltip:SetUnit("target"); local BigFootBot_acaec9f163947cc37d561bc125c83a9f = 0; if BigFootBotTooltip:NumLines() >=2 then BigFootBot_acaec9f163947cc37d561bc125c83a9f = 2 else BigFootBot_acaec9f163947cc37d561bc125c83a9f = BigFootBotTooltip:NumLines() end for BigFootBot_37ca8bb4456f9eb609d66a9c8d290c55 = 1, BigFootBot_acaec9f163947cc37d561bc125c83a9f, 1 do local BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117 = getglobal("BigFootBotTooltipTextLeft" .. BigFootBot_37ca8bb4456f9eb609d66a9c8d290c55):GetText(); if not BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117 then return end if BigFootBot_37ca8bb4456f9eb609d66a9c8d290c55 == 1 then BigFootBot_543c175753dac25d996d10445389c979.name = BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117; else BigFootBot_543c175753dac25d996d10445389c979.title = BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117; end end if (not UnitIsDead("target") and BigFootBot_5db357e279281922a440bcfd0fd60b5c("target", 1)) then local _, _, BigFootBot_b254e387cf58e982ba24fcb3e8a63995, BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf = BigFootBot_39ccb9dd96cbf64a01ea8fae451c8a33(); BigFootBot_543c175753dac25d996d10445389c979.position = {}; BigFootBot_543c175753dac25d996d10445389c979.position.x = BigFootBot_b254e387cf58e982ba24fcb3e8a63995; BigFootBot_543c175753dac25d996d10445389c979.position.y = BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf; end local BigFootBot_269b4b33933951030f0f99c2352fa1e8 = BigFootBot_eb8c30e8341a231bec51d9f153e7f02e("target"); if BigFootBot_269b4b33933951030f0f99c2352fa1e8 == "Horde" then BigFootBot_543c175753dac25d996d10445389c979.faction = 2 elseif BigFootBot_269b4b33933951030f0f99c2352fa1e8 == "Alliance" then BigFootBot_543c175753dac25d996d10445389c979.faction = 1 else BigFootBot_543c175753dac25d996d10445389c979.faction = 3 end NPCMarkCollectionDB[BigFootBot_17f240807b4afb1806a354773155a082 ..tostring(BigFootBot_b254e387cf58e982ba24fcb3e8a63995) .. tostring(BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf)] = BigFootBot_543c175753dac25d996d10445389c979; end end function BigFootBot_dd57c85adad9ca5a14e54ec25d5163c8(BigFootBot_c31af5fd9021206e921af3d99e5a90af, BigFootBot_fa0e20b884d24b5fee3e57d9608679e2, ...) local arg = {...}; if ( not BigFootBotFrame.callroutine ) then BigFootBotFrame.callroutine = {}; end local BigFootBot_2e00ffac12aadb3a1fd865993ec505b9 = {}; BigFootBot_2e00ffac12aadb3a1fd865993ec505b9["func"] = BigFootBot_c31af5fd9021206e921af3d99e5a90af; BigFootBot_2e00ffac12aadb3a1fd865993ec505b9["delay"] = BigFootBot_fa0e20b884d24b5fee3e57d9608679e2; BigFootBot_2e00ffac12aadb3a1fd865993ec505b9["lastUpdate"] = 0; for BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f = 1, getn(arg), 1 do BigFootBot_2e00ffac12aadb3a1fd865993ec505b9["arg"..BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f] = arg[BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f]; end table.insert(BigFootBotFrame.callroutine, BigFootBot_2e00ffac12aadb3a1fd865993ec505b9); end local function BigFootBot_f5f6341b05d5e1168f6c90bda565989d() local BigFootBot_06dbcc4d2bf486ad2f0d8e082b30be8f = GetRealmName(); local BigFootBot_2e2dc31c924679d8084c8b90a57309c9 = BigFootBot_47426f535759f6db8b89b80d0f72a943("realmList"); local BigFootBot_4ecde71cc90f7d73bd49e460316dccc6 = GetLocale(); if (BigFootBot_06dbcc4d2bf486ad2f0d8e082b30be8f and BigFootBot_2e2dc31c924679d8084c8b90a57309c9 and BigFootBot_4ecde71cc90f7d73bd49e460316dccc6) then BigFootBot_Info = BigFootBot_2e2dc31c924679d8084c8b90a57309c9 .. ":" .. BigFootBot_06dbcc4d2bf486ad2f0d8e082b30be8f .. ":" .. BigFootBot_4ecde71cc90f7d73bd49e460316dccc6; BigFootBot_Version = {}; BigFootBot_Version[BigFootBot_Info] = BigFootBot_78cbf4f1105e83c335c8cd6688825c1c; end end function BigFootBot_3608678f902294797efdd49e242b7cb9(BigFootBot_8983c60d66c8593ec7165ea9dbedb584, BigFootBot_8d0febf2348ea712b2b375ae95601d5f) if (BigFootBot_2e9d35d60a9442222dff3cf526453aff and BigFootBot_8983c60d66c8593ec7165ea9dbedb584 and BigFootBot_8d0febf2348ea712b2b375ae95601d5f and BigFootBot_2e9d35d60a9442222dff3cf526453aff["name"] == BigFootBot_8983c60d66c8593ec7165ea9dbedb584) then QuestDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f] = BigFootBot_2e9d35d60a9442222dff3cf526453aff; QuestDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["id"] = BigFootBot_8d0febf2348ea712b2b375ae95601d5f; BigFootBot_2e9d35d60a9442222dff3cf526453aff = nil; BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[CommitQuest] : ", QuestDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]); end end local BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388 = nil; function BigFootBot_622b71eb933728537e95c241652cdd55(BigFootBot_7c0579dde96b14da703c6803c42280d9, BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_b4d4e0b36de4876a125812756dc68dc6) BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388 = nil; if (not BigFootBot_7c0579dde96b14da703c6803c42280d9 or not BigFootBot_8d0febf2348ea712b2b375ae95601d5f) then return; end BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388 = {}; BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388["name"] = BigFootBot_7c0579dde96b14da703c6803c42280d9; BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388["id"] = BigFootBot_8d0febf2348ea712b2b375ae95601d5f; BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388["receiver"] = BigFootBot_b4d4e0b36de4876a125812756dc68dc6; end BigFootBot_b74a5b915f413a4e98d7eac5301bb319 = {}; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["AUCTION_HOUSE_SHOW"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_5c07374875d7bab569936376df0e40c8() end } BigFootBot_b74a5b915f413a4e98d7eac5301bb319["GUILD_REGISTRAR_SHOW"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_5c07374875d7bab569936376df0e40c8() end } BigFootBot_b74a5b915f413a4e98d7eac5301bb319["TRANSMOGRIFY_OPEN"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_5c07374875d7bab569936376df0e40c8() end } BigFootBot_b74a5b915f413a4e98d7eac5301bb319["FORGE_MASTER_OPENED"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_5c07374875d7bab569936376df0e40c8() end } BigFootBot_b74a5b915f413a4e98d7eac5301bb319["VOID_STORAGE_OPEN"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_5c07374875d7bab569936376df0e40c8() end } BigFootBot_b74a5b915f413a4e98d7eac5301bb319["MERCHANT_SHOW"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) local BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1 = BigFootBot_a084c697711d90ce3d55b96b69fa1bc7("npc"); local BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_5b122618d90b150b8238c05b2fb5758a("npc"); if (not BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1 or not BigFootBot_8d0febf2348ea712b2b375ae95601d5f) then return; end local BigFootBot_2e4ec0dc0bb54b79f2b872096046f9b7 = BigFootBot_90c53aa2fa771b888bc0646d24ea6837(); local BigFootBot_8983c60d66c8593ec7165ea9dbedb584, BigFootBot_9248008bbb6d0ee7ce13f6ee45680051, BigFootBot_153c09d58f6a5f5b4e49d6f46f5b1395, BigFootBot_d66efa20d614540bbcfedfdf96eab40d, BigFootBot_57ead45c7e4b6794a15b14a6dddda54f, BigFootBot_edd43bdd55f7f9b04be33af2ee290290; local BigFootBot_15ad1e501e228eb80be1cc7800ab967d, BigFootBot_8d0febf2348ea712b2b375ae95601d5f; for BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f = 1, BigFootBot_2e4ec0dc0bb54b79f2b872096046f9b7, 1 do BigFootBot_8983c60d66c8593ec7165ea9dbedb584, BigFootBot_9248008bbb6d0ee7ce13f6ee45680051, BigFootBot_153c09d58f6a5f5b4e49d6f46f5b1395, BigFootBot_d66efa20d614540bbcfedfdf96eab40d, BigFootBot_57ead45c7e4b6794a15b14a6dddda54f, BigFootBot_edd43bdd55f7f9b04be33af2ee290290 = BigFootBot_32e3aee84288fa1096e50bf63e76ea51(BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f); BigFootBot_15ad1e501e228eb80be1cc7800ab967d = BigFootBot_9efc9fbd937b25cbca32b83e34ae4e40(BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f); if (BigFootBot_15ad1e501e228eb80be1cc7800ab967d) then BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_3a1ef6f800e4bb968210888291a0bb2b(BigFootBot_15ad1e501e228eb80be1cc7800ab967d); if (BigFootBot_8d0febf2348ea712b2b375ae95601d5f and BigFootBot_9248008bbb6d0ee7ce13f6ee45680051) then local BigFootBot_f897f2e099a64c92cc66909fc41d8477 = { ["type"] = "merchant", ["name"] = BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1, ["id"] = BigFootBot_8d0febf2348ea712b2b375ae95601d5f, ["quantity"] = BigFootBot_d66efa20d614540bbcfedfdf96eab40d }; BigFootBot_e9fb41ebc2cf4ab1a2e4a6a3ea3b62f7(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_f897f2e099a64c92cc66909fc41d8477, true); end end end BigFootBot_5c07374875d7bab569936376df0e40c8() end }; function BigFootBot_89e8f179fcd134189a23ee62a5510dfc(BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3) if (BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 == "object") then if (BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 == BIGFOOTBOT_OPENING or BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 == BIGFOOTBOT_MINING or BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 == BIGFOOTBOT_HERBGATHERING or BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 == BIGFOOTBOT_LOCKPICKING) then return true; end elseif (BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 == "item") then if (BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 == BIGFOOTBOT_DISENCHANTING or BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 == BIGFOOTBOT_OPENING) then return true; end end end BigFootBot_b74a5b915f413a4e98d7eac5301bb319["UNIT_SPELLCAST_SENT"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7, BigFootBot_0e2babf2e3097eec96cf9280d1412ab5, BigFootBot_00ae4bc475ffbcf97f789256a2e707de, BigFootBot_6599f8c6a1b53d0212dfbab04e14e329, BigFootBot_18bd17b74c56bfd23801044c9c9e8d4e) local BigFootBot_fd724fd3c5e25aaf3b4226e1dae5257c = BigFootBot_0e2babf2e3097eec96cf9280d1412ab5; local BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 = BigFootBot_00ae4bc475ffbcf97f789256a2e707de; local BigFootBot_776cc2335c5e051bd62524696424f056 = BigFootBot_6599f8c6a1b53d0212dfbab04e14e329; local BigFootBot_a989a1829848b98a3554eaa01b0cc5b8 = BigFootBot_18bd17b74c56bfd23801044c9c9e8d4e; if (BigFootBot_fd724fd3c5e25aaf3b4226e1dae5257c ~= "player") then return; end local BigFootBot_7345d366310111d72b1ba31bb1d3cb92 = UnitName("target"); local BigFootBot_447582228b34f5d2912effeba98507e2, BigFootBot_c40664ee5a584871acdfb35de52e2de5 = GameTooltip:GetUnit(); if not BigFootBot_447582228b34f5d2912effeba98507e2 and BigFootBot_7345d366310111d72b1ba31bb1d3cb92 == BigFootBot_a989a1829848b98a3554eaa01b0cc5b8 then BigFootBot_447582228b34f5d2912effeba98507e2, BigFootBot_c40664ee5a584871acdfb35de52e2de5 = BigFootBot_a989a1829848b98a3554eaa01b0cc5b8, "target"; end local BigFootBot_1f194f793e9150819d886c66d5bc23b5, BigFootBot_e498578b78aa0db9c45f30f87d63debc = GameTooltip:GetItem(); if (string.find(BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, "^"..BIGFOOTBOT_OPENING) or string.find(BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, "^"..BIGFOOTBOT_OPENING2)) then BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 = BIGFOOTBOT_OPENING; end if (BigFootBot_89e8f179fcd134189a23ee62a5510dfc(BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, "object") and not BigFootBot_1f194f793e9150819d886c66d5bc23b5 and not BigFootBot_447582228b34f5d2912effeba98507e2) then if (BigFootBot_a989a1829848b98a3554eaa01b0cc5b8 == "") then return; end BigFootBot_801f0b56b84b3be6bd76ec896617a3f4(BigFootBot_a989a1829848b98a3554eaa01b0cc5b8); BigFootBot_38d8a240b834475ff65cf455553e23c8("SPELLCAST_SENT", BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, BigFootBot_a989a1829848b98a3554eaa01b0cc5b8); elseif (BigFootBot_89e8f179fcd134189a23ee62a5510dfc(BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, "item") and not BigFootBot_447582228b34f5d2912effeba98507e2 and BigFootBot_1f194f793e9150819d886c66d5bc23b5) then if (BigFootBot_1f194f793e9150819d886c66d5bc23b5 and BigFootBot_1f194f793e9150819d886c66d5bc23b5 == BigFootBot_a989a1829848b98a3554eaa01b0cc5b8) then local BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_3a1ef6f800e4bb968210888291a0bb2b(BigFootBot_15ad1e501e228eb80be1cc7800ab967d); BigFootBot_38d8a240b834475ff65cf455553e23c8("SPELLCAST_SENT", BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, BigFootBot_8983c60d66c8593ec7165ea9dbedb584, BigFootBot_8d0febf2348ea712b2b375ae95601d5f); elseif (BigFootBot_a989a1829848b98a3554eaa01b0cc5b8 ~= "") then local BigFootBot_e498578b78aa0db9c45f30f87d63debc = GetItemInfo(BigFootBot_a989a1829848b98a3554eaa01b0cc5b8); local BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_3a1ef6f800e4bb968210888291a0bb2b(BigFootBot_e498578b78aa0db9c45f30f87d63debc); BigFootBot_38d8a240b834475ff65cf455553e23c8("SPELLCAST_SENT", BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, BigFootBot_8983c60d66c8593ec7165ea9dbedb584, BigFootBot_8d0febf2348ea712b2b375ae95601d5f); else return; end end end }; function BigFootBot_3d7945e77d6f1e9125a35ae97786669c() SetMapToCurrentZone(); local BigFootBot_39c61be58cc1a14e7e1206eb12f5280f = BigFootBot_3e9576ac1a6eb24bd30b6d93d7303c34(); if (BigFootBot_39c61be58cc1a14e7e1206eb12f5280f == "Azeroth" or BigFootBot_39c61be58cc1a14e7e1206eb12f5280f == "Kalimdor" or BigFootBot_39c61be58cc1a14e7e1206eb12f5280f == "Expansion01" or BigFootBot_39c61be58cc1a14e7e1206eb12f5280f == "Northrend" or BigFootBot_39c61be58cc1a14e7e1206eb12f5280f == "TheMaelstromContinent") then BigFootBot_cd15a77b8ad10a4715e8964882da45df = nil; else BigFootBot_cd15a77b8ad10a4715e8964882da45df = BigFootBot_39c61be58cc1a14e7e1206eb12f5280f; end end BigFootBot_b74a5b915f413a4e98d7eac5301bb319["ZONE_CHANGED"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_3d7945e77d6f1e9125a35ae97786669c(); end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["ZONE_CHANGED_NEW_AREA"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) SetMapToCurrentZone(); local BigFootBot_39c61be58cc1a14e7e1206eb12f5280f = BigFootBot_3e9576ac1a6eb24bd30b6d93d7303c34(); if (BigFootBot_39c61be58cc1a14e7e1206eb12f5280f == "Azeroth" or BigFootBot_39c61be58cc1a14e7e1206eb12f5280f == "Kalimdor" or BigFootBot_39c61be58cc1a14e7e1206eb12f5280f == "Expansion01") then BigFootBot_cd15a77b8ad10a4715e8964882da45df = nil; else BigFootBot_cd15a77b8ad10a4715e8964882da45df = BigFootBot_39c61be58cc1a14e7e1206eb12f5280f; end end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["UNIT_SPELLCAST_SUCCEEDED"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7, BigFootBot_0e2babf2e3097eec96cf9280d1412ab5, BigFootBot_00ae4bc475ffbcf97f789256a2e707de, BigFootBot_6599f8c6a1b53d0212dfbab04e14e329) local BigFootBot_fd724fd3c5e25aaf3b4226e1dae5257c = BigFootBot_0e2babf2e3097eec96cf9280d1412ab5; local BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 = BigFootBot_00ae4bc475ffbcf97f789256a2e707de; local BigFootBot_776cc2335c5e051bd62524696424f056 = BigFootBot_6599f8c6a1b53d0212dfbab04e14e329; if (string.find(BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, "^"..BIGFOOTBOT_OPENING) or string.find(BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, "^"..BIGFOOTBOT_OPENING2)) then BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 = BIGFOOTBOT_OPENING; end if (BigFootBot_70723578f5b9c106219e858ec65ceb8b() == "SPELLCAST_SENT") then local BigFootBot_6e4d0db7491d6883f86de390d20dbe5b, BigFootBot_6c5560108ad7aaf47e811081394a00b4, BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f = BigFootBot_754c925c943d5ef6305add447c647632(); if (BigFootBot_fd724fd3c5e25aaf3b4226e1dae5257c == "player" and BigFootBot_6e4d0db7491d6883f86de390d20dbe5b == BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2) then BigFootBot_38d8a240b834475ff65cf455553e23c8("SPELLCAST_SUCCEEDED", BigFootBot_6e4d0db7491d6883f86de390d20dbe5b, BigFootBot_6c5560108ad7aaf47e811081394a00b4, BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f); else BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917(); end else BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917(); end end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["UNIT_SPELLCAST_FAILED"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7, BigFootBot_0e2babf2e3097eec96cf9280d1412ab5, BigFootBot_00ae4bc475ffbcf97f789256a2e707de, BigFootBot_6599f8c6a1b53d0212dfbab04e14e329) if (BigFootBot_0e2babf2e3097eec96cf9280d1412ab5 == "player") then BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917(); end end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["UNIT_SPELLCAST_INTERRUPTED"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7, BigFootBot_0e2babf2e3097eec96cf9280d1412ab5, BigFootBot_00ae4bc475ffbcf97f789256a2e707de, BigFootBot_6599f8c6a1b53d0212dfbab04e14e329) if (BigFootBot_0e2babf2e3097eec96cf9280d1412ab5 == "player") then BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917(); end end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["QUEST_DETAIL"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_2e9d35d60a9442222dff3cf526453aff = nil; BigFootBot_3f85aa7e51a52ac4f932e202d7825031(); end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["UI_INFO_MESSAGE"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_67513eece7a95dd3b527cfc3a5f17105(arg1); end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["CHAT_MSG_COMBAT_FACTION_CHANGE"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7, BigFootBot_0e2babf2e3097eec96cf9280d1412ab5) if (BigFootBot_a3130e0fce8cdca07d22015fd62cd9cf) then local BigFootBot_9fc1a99638e222362f76a2986addc9f8, BigFootBot_2361bab8b48b1041ad740bb561b21aee = BigFootBot_7a91d7c6377fa807a0198d74049d7c13(BigFootBot_0e2babf2e3097eec96cf9280d1412ab5); if (BigFootBot_9fc1a99638e222362f76a2986addc9f8 and BigFootBot_2361bab8b48b1041ad740bb561b21aee) then if (not BigFootBot_7de456cd9c620ce1031e8ea9ce778945) then BigFootBot_7de456cd9c620ce1031e8ea9ce778945 = {}; end local _, BigFootBot_cffe27376372df1e8d821bad00ed78ff = BigFootBot_baebfebce904f8cf7dedd84848b219a9("player"); if (BigFootBot_cffe27376372df1e8d821bad00ed78ff == "Human" and BigFootBot_2361bab8b48b1041ad740bb561b21aee > 0) then BigFootBot_2361bab8b48b1041ad740bb561b21aee = math.floor(BigFootBot_2361bab8b48b1041ad740bb561b21aee/1.1 + 0.5); end BigFootBot_7de456cd9c620ce1031e8ea9ce778945[BigFootBot_9fc1a99638e222362f76a2986addc9f8] = BigFootBot_2361bab8b48b1041ad740bb561b21aee; return; end end end } BigFootBot_b74a5b915f413a4e98d7eac5301bb319["CHAT_MSG_SYSTEM"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7, BigFootBot_0e2babf2e3097eec96cf9280d1412ab5) local BigFootBot_7c0579dde96b14da703c6803c42280d9 = BigFootBot_77ee89dd12fd62727ba2583cbd80495e(BigFootBot_0e2babf2e3097eec96cf9280d1412ab5); if ( BigFootBot_7c0579dde96b14da703c6803c42280d9 ) then BigFootBot_dd57c85adad9ca5a14e54ec25d5163c8(BigFootBot_01823f388abbb694852c2a1ecd2155db, 2, BigFootBot_7c0579dde96b14da703c6803c42280d9); end local BigFootBot_056715cf1eab98baa9c3fca057f5299f = BigFootBot_432f120e49d8a5bf9f580fb06c2e412e(BigFootBot_0e2babf2e3097eec96cf9280d1412ab5); if (BigFootBot_056715cf1eab98baa9c3fca057f5299f) then BigFootBot_ad966be98aaad4f45d39548ff7fffd27 = BigFootBot_056715cf1eab98baa9c3fca057f5299f; return; end end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["QUEST_COMPLETE"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_f35d91efaa8975d7f1db54a79b1ee278(); end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["GOSSIP_SHOW"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) local numAvailableQuests = BigFootBot_1d43aa2171c37ff528d29a2293f62cdf(); local numActiveQuests = BigFootBot_94039884816a990ddd93db4a0b61c8b6(); if (numAvailableQuests > 0 or numActiveQuests > 0) then local BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_a084c697711d90ce3d55b96b69fa1bc7("npc"); local BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 = BigFootBot_efceebaadc4f306ce68f27be7441d9e5(BigFootBot_3f1137a413f32f0b109ed9f5ad7a96e3("npc")); if (BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 == 1 and BigFootBot_8983c60d66c8593ec7165ea9dbedb584) then BigFootBot_38d8a240b834475ff65cf455553e23c8("GOSSIP_SHOW", BigFootBot_8983c60d66c8593ec7165ea9dbedb584); end end end } BigFootBot_b74a5b915f413a4e98d7eac5301bb319["LOOT_OPENED"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) local BigFootBot_6328411747b69ec0bc0fe5e74473fc1f; local BigFootBot_82541cdf49ca614c4b9f2a16a07469a0; if (BigFootBot_94eb75d518becde368e2486ad53c9cc9("target") and not BigFootBot_af299b66b714765bc68ba44994a46106("target") and BigFootBot_927d2698e1f931fce0eb9341fdc139db("target")) then local BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_a084c697711d90ce3d55b96b69fa1bc7("target"); if (BigFootBot_8983c60d66c8593ec7165ea9dbedb584) then BigFootBot_6328411747b69ec0bc0fe5e74473fc1f = BigFootBot_3f1137a413f32f0b109ed9f5ad7a96e3("target"); if (BigFootBot_6328411747b69ec0bc0fe5e74473fc1f and not BigFootBot_533e4ad89cbcf130c2f8f094f76ee029[BigFootBot_6328411747b69ec0bc0fe5e74473fc1f] and BigFootBot_533e4ad89cbcf130c2f8f094f76ee029[BigFootBot_6328411747b69ec0bc0fe5e74473fc1f] ~= 2) then BigFootBot_533e4ad89cbcf130c2f8f094f76ee029[BigFootBot_6328411747b69ec0bc0fe5e74473fc1f] = 1; BigFootBot_8be17c0c368c96c8794051a40469c0dd("kill", BigFootBot_8983c60d66c8593ec7165ea9dbedb584); end end end local BigFootBot_0b126c5f828d02c2ead07c4a3aebcf82 = BigFootBot_cedb5595b0ae95f6d50712441c5517ee(); for __index = 1, BigFootBot_0b126c5f828d02c2ead07c4a3aebcf82, 1 do if ( BigFootBot_5705b866f02d81e7ac7b5756b464e48d(__index) ) then local BigFootBot_9248008bbb6d0ee7ce13f6ee45680051, BigFootBot_8983c60d66c8593ec7165ea9dbedb584, BigFootBot_d66efa20d614540bbcfedfdf96eab40d, BigFootBot_5fb35c5c169c804bc82bd7f93ad8e32f = BigFootBot_8fb57602605f7da833ccfb07c330b6a3(__index); local BigFootBot_15ad1e501e228eb80be1cc7800ab967d = BigFootBot_d379ce8f171f0a29df1d1953007df4e8(__index); local BigFootBot_8d0febf2348ea712b2b375ae95601d5f; if (BigFootBot_15ad1e501e228eb80be1cc7800ab967d) then BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_3a1ef6f800e4bb968210888291a0bb2b(BigFootBot_15ad1e501e228eb80be1cc7800ab967d); end if (BigFootBot_8d0febf2348ea712b2b375ae95601d5f and BigFootBot_9248008bbb6d0ee7ce13f6ee45680051) then if ( BigFootBot_74f4eee09888000b2b20168a3f120cfa() ) then local BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0, BigFootBot_9b21086ce030e389c80d9ac05fe53121, BigFootBot_b254e387cf58e982ba24fcb3e8a63995, BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf = BigFootBot_39ccb9dd96cbf64a01ea8fae451c8a33(); if (BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0 and BigFootBot_b254e387cf58e982ba24fcb3e8a63995 and BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf) then local BigFootBot_f897f2e099a64c92cc66909fc41d8477 = {}; BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] = "fishing"; BigFootBot_f897f2e099a64c92cc66909fc41d8477["quantity"] = BigFootBot_d66efa20d614540bbcfedfdf96eab40d; BigFootBot_f897f2e099a64c92cc66909fc41d8477["zone"] = BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0; BigFootBot_f897f2e099a64c92cc66909fc41d8477["subzone"] = BigFootBot_9b21086ce030e389c80d9ac05fe53121; BigFootBot_f897f2e099a64c92cc66909fc41d8477["x"] = BigFootBot_b254e387cf58e982ba24fcb3e8a63995; BigFootBot_f897f2e099a64c92cc66909fc41d8477["y"] = BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf; BigFootBot_e9fb41ebc2cf4ab1a2e4a6a3ea3b62f7(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_f897f2e099a64c92cc66909fc41d8477, true); end elseif (BigFootBot_70723578f5b9c106219e858ec65ceb8b() == "SPELLCAST_SUCCEEDED" and BigFootBot_9720169c4a9d53da2a83de6dcfc2afbd() < 1) then local BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2, BigFootBot_a989a1829848b98a3554eaa01b0cc5b8, BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1 = BigFootBot_754c925c943d5ef6305add447c647632(); local BigFootBot_f897f2e099a64c92cc66909fc41d8477 = {}; BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"] = BigFootBot_a989a1829848b98a3554eaa01b0cc5b8; BigFootBot_f897f2e099a64c92cc66909fc41d8477["quantity"] = BigFootBot_d66efa20d614540bbcfedfdf96eab40d; if (BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 == BIGFOOTBOT_DISENCHANTING) then BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] = "disenchanting"; BigFootBot_f897f2e099a64c92cc66909fc41d8477["id"] = BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1; BigFootBot_8be17c0c368c96c8794051a40469c0dd("disenchanting", BigFootBot_a989a1829848b98a3554eaa01b0cc5b8); elseif (BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 == BIGFOOTBOT_MINING) then BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] = "mining"; BigFootBot_8be17c0c368c96c8794051a40469c0dd("mining", BigFootBot_a989a1829848b98a3554eaa01b0cc5b8); elseif (BigFootBot_b48c6d810781a0aaca7a1daf572bf0a2 == BIGFOOTBOT_HERBGATHERING) then BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] = "gathering"; BigFootBot_8be17c0c368c96c8794051a40469c0dd("gathering", BigFootBot_a989a1829848b98a3554eaa01b0cc5b8); else BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] = "object"; end BigFootBot_e9fb41ebc2cf4ab1a2e4a6a3ea3b62f7(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_f897f2e099a64c92cc66909fc41d8477, true); elseif (BigFootBot_70723578f5b9c106219e858ec65ceb8b() == "USE_CONTAINER_ITEM" and BigFootBot_9720169c4a9d53da2a83de6dcfc2afbd() < 1) then local BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1, BigFootBot_119c4834cafdb091f67c4f9bee252c55 = BigFootBot_754c925c943d5ef6305add447c647632(); local BigFootBot_f897f2e099a64c92cc66909fc41d8477 = {}; BigFootBot_82541cdf49ca614c4b9f2a16a07469a0 = BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1; if (not BigFootBot_c3904b1a4069e446af4b2126d2a2be6e[BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1]) then BigFootBot_f897f2e099a64c92cc66909fc41d8477["id"] = BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1; BigFootBot_f897f2e099a64c92cc66909fc41d8477["name"] = BigFootBot_119c4834cafdb091f67c4f9bee252c55; BigFootBot_f897f2e099a64c92cc66909fc41d8477["quantity"] = BigFootBot_d66efa20d614540bbcfedfdf96eab40d; BigFootBot_f897f2e099a64c92cc66909fc41d8477["type"] = "item"; end BigFootBot_e9fb41ebc2cf4ab1a2e4a6a3ea3b62f7(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_f897f2e099a64c92cc66909fc41d8477, true); elseif (BigFootBot_70723578f5b9c106219e858ec65ceb8b()) then BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917(); return; elseif (BigFootBot_6328411747b69ec0bc0fe5e74473fc1f) then if (BigFootBot_533e4ad89cbcf130c2f8f094f76ee029[BigFootBot_6328411747b69ec0bc0fe5e74473fc1f] ~= 2) then local BigFootBot_a989a1829848b98a3554eaa01b0cc5b8 = BigFootBot_a084c697711d90ce3d55b96b69fa1bc7("target"); if (BigFootBot_a989a1829848b98a3554eaa01b0cc5b8) then local BigFootBot_f0bc277cf29d1f7f54c7f5b840a5af63 = BigFootBot_5b122618d90b150b8238c05b2fb5758a("target"); if (BigFootBot_f0bc277cf29d1f7f54c7f5b840a5af63) then local BigFootBot_f897f2e099a64c92cc66909fc41d8477 = { ["type"] = "drop", ["id"] = BigFootBot_f0bc277cf29d1f7f54c7f5b840a5af63, ["name"] = BigFootBot_a989a1829848b98a3554eaa01b0cc5b8, ["difficult"] = BigFootBot_afb61878c4ab22c0b68f34361cd656ca, ["corpse_id"] = BigFootBot_6328411747b69ec0bc0fe5e74473fc1f, ["quantity"] = BigFootBot_d66efa20d614540bbcfedfdf96eab40d}; BigFootBot_e9fb41ebc2cf4ab1a2e4a6a3ea3b62f7(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_f897f2e099a64c92cc66909fc41d8477, true); end end end end end end end if (BigFootBot_6328411747b69ec0bc0fe5e74473fc1f) then BigFootBot_533e4ad89cbcf130c2f8f094f76ee029[BigFootBot_6328411747b69ec0bc0fe5e74473fc1f] = 2; end if (BigFootBot_82541cdf49ca614c4b9f2a16a07469a0) then BigFootBot_c3904b1a4069e446af4b2126d2a2be6e[BigFootBot_82541cdf49ca614c4b9f2a16a07469a0] = true; end BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917(); end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["LOOT_OPENED"]=nil; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["TRAINER_SHOW"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) local BigFootBot_09b1d3991dfc2177ca0a21d0aa691e35 = BigFootBot_bb7e0e7577c06282b4ccf8864cd5ebf6(); local BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_a084c697711d90ce3d55b96b69fa1bc7("npc"); local BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_5b122618d90b150b8238c05b2fb5758a("npc"); if (BigFootBot_8d0febf2348ea712b2b375ae95601d5f and BigFootBot_8983c60d66c8593ec7165ea9dbedb584) then for __index = 1, BigFootBot_09b1d3991dfc2177ca0a21d0aa691e35, 1 do local BigFootBot_3ebf8d6e568154f9bcb62e4594358fce, BigFootBot_16d83486bb8508cd125120e2e90ffb12, BigFootBot_3d2e4669ac1bc7052c5a70e44a2a13e8, BigFootBot_4e44fd8036657e840cc0df153c8b1051,BigFootBot_24c4182065001c197fec94c98547a930,BigFootBot_fb589c8c57c15b2b8a06e4e9dd82804a = BigFootBot_e9e6cfc71dcf726511101288d247855e(__index); if ( BigFootBot_3d2e4669ac1bc7052c5a70e44a2a13e8 ~= "header" and BigFootBot_3ebf8d6e568154f9bcb62e4594358fce ) then local BigFootBot_f897f2e099a64c92cc66909fc41d8477 = {["type"] = "trainer", ["id"] = BigFootBot_8d0febf2348ea712b2b375ae95601d5f, ["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584}; BigFootBot_f52a1d2463a19669e9d1f7c40e655455(BigFootBot_3ebf8d6e568154f9bcb62e4594358fce, BigFootBot_24c4182065001c197fec94c98547a930, BigFootBot_f897f2e099a64c92cc66909fc41d8477); end end end BigFootBot_5c07374875d7bab569936376df0e40c8() end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["ITEM_TEXT_BEGIN"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) local BigFootBot_cb310b3e881c4cf411c770f356647539 = BigFootBot_3f1137a413f32f0b109ed9f5ad7a96e3("npc"); local BigFootBot_447582228b34f5d2912effeba98507e2 = BigFootBot_a084c697711d90ce3d55b96b69fa1bc7("npc"); if (BigFootBot_cb310b3e881c4cf411c770f356647539 and BigFootBot_447582228b34f5d2912effeba98507e2 and BigFootBot_efceebaadc4f306ce68f27be7441d9e5(BigFootBot_cb310b3e881c4cf411c770f356647539) == 1) then BigFootBot_801f0b56b84b3be6bd76ec896617a3f4(BigFootBot_447582228b34f5d2912effeba98507e2); end end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["UPDATE_MOUSEOVER_UNIT"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_7256bd8a4397c455e1c7c6eb877b735e("mouseover"); end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["PLAYER_TARGET_CHANGED"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_7256bd8a4397c455e1c7c6eb877b735e("target"); if (BigFootBot_94eb75d518becde368e2486ad53c9cc9("target")) then local BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_5b122618d90b150b8238c05b2fb5758a("target"); if (not BigFootBot_8d0febf2348ea712b2b375ae95601d5f) then return; end if (UnitAffectingCombat("target")) then return; end local BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_a084c697711d90ce3d55b96b69fa1bc7("target"); if (not BigFootBot_8983c60d66c8593ec7165ea9dbedb584) then return; end if (not UnitIsDead("target") and BigFootBot_5db357e279281922a440bcfd0fd60b5c("target", 1)) then BigFootBot_12820045cabfadd468e45bf7af898c42(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_8983c60d66c8593ec7165ea9dbedb584); end if (CreatureDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]) then return; end local BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_a084c697711d90ce3d55b96b69fa1bc7("target"); if (not BigFootBot_8983c60d66c8593ec7165ea9dbedb584) then return; end local BigFootBot_c71a4dc76b97386daccfdfbdcb6758a6 = BigFootBot_d6a9fd3758dfb8c99bdf0c7ee6a2138c("target"); local BigFootBot_0db5ab7591386d733b59a51d951e85d0 = BigFootBot_995463cbd5fce5d50e97d63befbd191c("target"); if (BigFootBot_0db5ab7591386d733b59a51d951e85d0 == -1 and BigFootBot_c71a4dc76b97386daccfdfbdcb6758a6 ~= "worldboss") then return; end if (BigFootBot_927d2698e1f931fce0eb9341fdc139db("target") ) then return; end if ( BigFootBot_af299b66b714765bc68ba44994a46106("target") ) then return; else local BigFootBot_eab765600dfa4f607423084a1db7c624 = BigFootBot_baebfebce904f8cf7dedd84848b219a9("target"); end if ( BigFootBot_ae357dfdce331ee8adbee61d0c4b16ad("target")) then return; end local BigFootBot_c563f0e90b41e682984a062bfdb28376 = BigFootBot_6f0ef82ec67215de30877daf1ab39370("target", "player"); if (not BigFootBot_c563f0e90b41e682984a062bfdb28376) then return; end local BigFootBot_7b5109c11d0a221bf2f8ab27271424e9 = BigFootBot_eb8c30e8341a231bec51d9f153e7f02e("player"); if (not BigFootBot_7b5109c11d0a221bf2f8ab27271424e9) then return; end if (BigFootBot_7b5109c11d0a221bf2f8ab27271424e9 == "Alliance") then BigFootBot_c563f0e90b41e682984a062bfdb28376 = BigFootBot_c563f0e90b41e682984a062bfdb28376 * 256; end local BigFootBot_269b4b33933951030f0f99c2352fa1e8 = BigFootBot_eb8c30e8341a231bec51d9f153e7f02e("target"); local BigFootBot_9fc1a99638e222362f76a2986addc9f8; BigFootBotTooltip:ClearLines(); BigFootBotTooltip:SetUnit("target"); for BigFootBot_37ca8bb4456f9eb609d66a9c8d290c55 = 1, BigFootBotTooltip:NumLines(), 1 do local BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117 = getglobal("BigFootBotTooltipTextLeft" .. BigFootBot_37ca8bb4456f9eb609d66a9c8d290c55):GetText(); if (BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117 and BigFootBot_aff9d44757eda069e077ec751873021e[BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117]) then BigFootBot_9fc1a99638e222362f76a2986addc9f8 = BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117; end end local BigFootBot_9f13c1748194e0b72702324e91c486b3; if (UnitIsPVP("target")) then BigFootBot_9f13c1748194e0b72702324e91c486b3 = 1; else BigFootBot_9f13c1748194e0b72702324e91c486b3 = 0; end BigFootBot_3eb0b9ea39ec132c6d846c81c75c8a5c(BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_8983c60d66c8593ec7165ea9dbedb584, BigFootBot_0db5ab7591386d733b59a51d951e85d0, BigFootBot_c563f0e90b41e682984a062bfdb28376, BigFootBot_269b4b33933951030f0f99c2352fa1e8, BigFootBot_9fc1a99638e222362f76a2986addc9f8, BigFootBot_9f13c1748194e0b72702324e91c486b3); end end }; BigFootBot_b74a5b915f413a4e98d7eac5301bb319["MAIL_INBOX_UPDATE"] = { OnEvent = function(BigFootBot_d0708241b607c9a9dd1953c812fadfb7) BigFootBot_c08d24e2e3261109ee19c817a2fb662a() end }; function BigFootBot_25ef7a3bda049822936280862e0c8ea5(BigFootBot_b254e387cf58e982ba24fcb3e8a63995) if(BigFootBot_b254e387cf58e982ba24fcb3e8a63995 - math.floor(BigFootBot_b254e387cf58e982ba24fcb3e8a63995) > 0.5) then BigFootBot_b254e387cf58e982ba24fcb3e8a63995 = BigFootBot_b254e387cf58e982ba24fcb3e8a63995 + 0.5; end return math.floor(BigFootBot_b254e387cf58e982ba24fcb3e8a63995); end function BigFootBot_39ccb9dd96cbf64a01ea8fae451c8a33() local BigFootBot_cd4610f0f4e0972dd0ded1551d2642b9, BigFootBot_1247f6a55aec47e8befd542ab47db187 = BigFootBot_8ea683b3c13e8d3cce29608dcc337aed(); local BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0 = BigFootBot_6e4fa43c2b95f032fe711f170619825c(); local BigFootBot_9b21086ce030e389c80d9ac05fe53121 = BigFootBot_b7014d3a029ea94c4cff07b6bf4e9f12(); local BigFootBot_cb46568dc287b55bd771e3111497b62a = BigFootBot_3e9576ac1a6eb24bd30b6d93d7303c34(); if (BigFootBot_cb46568dc287b55bd771e3111497b62a and BigFootBot_cb46568dc287b55bd771e3111497b62a == BigFootBot_cd15a77b8ad10a4715e8964882da45df) then local BigFootBot_b254e387cf58e982ba24fcb3e8a63995, BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf; if (not BigFootBot_cd4610f0f4e0972dd0ded1551d2642b9) then BigFootBot_b254e387cf58e982ba24fcb3e8a63995, BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf = BigFootBot_f7e089cf058e6eb29c91dd9e5c99e281("player"); if (BigFootBot_b254e387cf58e982ba24fcb3e8a63995 == 0 and BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf == 0) then BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[GetLocation] : Cannot get coordinate. Invalid map position."); return; end BigFootBot_b254e387cf58e982ba24fcb3e8a63995 = BigFootBot_25ef7a3bda049822936280862e0c8ea5(BigFootBot_b254e387cf58e982ba24fcb3e8a63995 * 100); BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf = BigFootBot_25ef7a3bda049822936280862e0c8ea5(BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf * 100); else BigFootBot_b254e387cf58e982ba24fcb3e8a63995 = -1; BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf = -1; end if (not BigFootBot_9b21086ce030e389c80d9ac05fe53121 or BigFootBot_9b21086ce030e389c80d9ac05fe53121 == "") then BigFootBot_9b21086ce030e389c80d9ac05fe53121 = BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0; end return BigFootBot_1a4a3c7a1fdba9319ea8aff717f9c2e0, BigFootBot_9b21086ce030e389c80d9ac05fe53121, BigFootBot_b254e387cf58e982ba24fcb3e8a63995, BigFootBot_a0f453fd098c0b0fda780f69cda6ffbf; end end function BigFootBot_efceebaadc4f306ce68f27be7441d9e5(BigFootBot_18143855ca473518291feae87d7a01c1) if (not BigFootBot_18143855ca473518291feae87d7a01c1) then return; end local BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3, _, playerdbID, _, _, cid, creationbits = strsplit(":", BigFootBot_18143855ca473518291feae87d7a01c1 or ""); if BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 then if BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 == "Player" or BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 == "Item" then return 0; elseif BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 == "Creature" then return 1; elseif BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 == "Creature" then return 3, tonumber(cid); elseif BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 == "Pet" then return 4; end end end function BigFootBot_c954e9ccb4d9a5524b4c867dfe3f0e48(BigFootBot_15ad1e501e228eb80be1cc7800ab967d) if (BigFootBot_15ad1e501e228eb80be1cc7800ab967d) then local BigFootBot_e0e85008d0859db6bb769f09cf1b7b30, BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_0db5ab7591386d733b59a51d951e85d0, BigFootBot_8983c60d66c8593ec7165ea9dbedb584; for BigFootBot_e0e85008d0859db6bb769f09cf1b7b30, BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_0db5ab7591386d733b59a51d951e85d0, BigFootBot_8983c60d66c8593ec7165ea9dbedb584 in string.gmatch(BigFootBot_15ad1e501e228eb80be1cc7800ab967d, "|c(%x+)|Hquest:(%d+):(-?%d+)|h%[(.+)%]|h|r") do return tonumber(BigFootBot_8d0febf2348ea712b2b375ae95601d5f), tonumber(BigFootBot_0db5ab7591386d733b59a51d951e85d0), BigFootBot_8983c60d66c8593ec7165ea9dbedb584; end end end function BigFootBot_932071461e873fa8ef5db15ab526b8cb(BigFootBot_6e4d0db7491d6883f86de390d20dbe5b, BigFootBot_a2f3972c23a0aa3bd7fb0e9823d918f2, ...) if (not BigFootBot_6e4d0db7491d6883f86de390d20dbe5b) then return; end return ...; end function BigFootBot_8b65ea8ceadecff5381add26c13a7280(BigFootBot_0c08ac46c6389f5518c577019c2e7778, BigFootBot_acd18e5e4cc047ed8d218397986e9dc2) if (not BigFootBot_0c08ac46c6389f5518c577019c2e7778 or not BigFootBot_acd18e5e4cc047ed8d218397986e9dc2) then return nil; end BigFootBot_0c08ac46c6389f5518c577019c2e7778 = string.gsub(BigFootBot_0c08ac46c6389f5518c577019c2e7778, "%(", "%%("); BigFootBot_0c08ac46c6389f5518c577019c2e7778 = string.gsub(BigFootBot_0c08ac46c6389f5518c577019c2e7778, "%)", "%%)"); BigFootBot_0c08ac46c6389f5518c577019c2e7778 = string.gsub(BigFootBot_0c08ac46c6389f5518c577019c2e7778, "%%s", "(.+)"); BigFootBot_0c08ac46c6389f5518c577019c2e7778 = string.gsub(BigFootBot_0c08ac46c6389f5518c577019c2e7778, "%%d", "(%%d+)"); return BigFootBot_932071461e873fa8ef5db15ab526b8cb(string.find(BigFootBot_acd18e5e4cc047ed8d218397986e9dc2, BigFootBot_0c08ac46c6389f5518c577019c2e7778)); end function BigFootBot_432f120e49d8a5bf9f580fb06c2e412e(BigFootBot_e010bf6e936ee9361fe9dab352df358d) local BigFootBot_edd67b0754526d7987d33a1def79c18a = BigFootBot_8b65ea8ceadecff5381add26c13a7280(ERR_QUEST_REWARD_EXP_I, BigFootBot_e010bf6e936ee9361fe9dab352df358d); if (BigFootBot_edd67b0754526d7987d33a1def79c18a) then return tonumber(BigFootBot_edd67b0754526d7987d33a1def79c18a); end end function BigFootBot_77ee89dd12fd62727ba2583cbd80495e(BigFootBot_c7b0f672111ea671fbd8a105fd70f187) return BigFootBot_8b65ea8ceadecff5381add26c13a7280(ERR_QUEST_ACCEPTED_S, BigFootBot_c7b0f672111ea671fbd8a105fd70f187); end function BigFootBot_3a1ef6f800e4bb968210888291a0bb2b(BigFootBot_15ad1e501e228eb80be1cc7800ab967d) if (BigFootBot_15ad1e501e228eb80be1cc7800ab967d) then for id, name in string.gmatch(BigFootBot_15ad1e501e228eb80be1cc7800ab967d, "|c%x+|Hitem:(%d+).+%[(.+)%]|h|r") do return tonumber(id), name; end end end function BigFootBot_7a91d7c6377fa807a0198d74049d7c13(BigFootBot_02d7db25eed97acba4b1d1b921b87cd2) local BigFootBot_9fc1a99638e222362f76a2986addc9f8, BigFootBot_edd67b0754526d7987d33a1def79c18a = BigFootBot_8b65ea8ceadecff5381add26c13a7280(FACTION_STANDING_DECREASED, BigFootBot_02d7db25eed97acba4b1d1b921b87cd2); if (BigFootBot_9fc1a99638e222362f76a2986addc9f8) then return BigFootBot_9fc1a99638e222362f76a2986addc9f8, -tonumber(BigFootBot_edd67b0754526d7987d33a1def79c18a); end BigFootBot_9fc1a99638e222362f76a2986addc9f8, BigFootBot_edd67b0754526d7987d33a1def79c18a = BigFootBot_8b65ea8ceadecff5381add26c13a7280(FACTION_STANDING_INCREASED, BigFootBot_02d7db25eed97acba4b1d1b921b87cd2); if (BigFootBot_9fc1a99638e222362f76a2986addc9f8) then return BigFootBot_9fc1a99638e222362f76a2986addc9f8, tonumber(BigFootBot_edd67b0754526d7987d33a1def79c18a); end end function BigFootBot_917e04a54037312443e82eeb035f2872(BigFootBot_a4e435952d7906b01358c3f8f9ff67e8, BigFootBot_f5cb07751fccdf339be4192634943a73) if (MerchantFrame:IsShown() or (not BigFootBot_a4e435952d7906b01358c3f8f9ff67e8) or (not BigFootBot_f5cb07751fccdf339be4192634943a73)) then return; end BigFootBotTooltip:ClearLines(); BigFootBotTooltip:SetBagItem(BigFootBot_a4e435952d7906b01358c3f8f9ff67e8, BigFootBot_f5cb07751fccdf339be4192634943a73); for BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f = 1, BigFootBotTooltip:NumLines(), 1 do local BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117 = getglobal("BigFootBotTooltipTextLeft" .. BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f):GetText(); if (BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117 == ITEM_OPENABLE or BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117 == ITEM_STARTS_QUEST) then local BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1, BigFootBot_119c4834cafdb091f67c4f9bee252c55 = BigFootBot_3a1ef6f800e4bb968210888291a0bb2b(GetContainerItemLink(BigFootBot_a4e435952d7906b01358c3f8f9ff67e8, BigFootBot_f5cb07751fccdf339be4192634943a73)); if (BigFootBot_e6955c64cf39bdb23dc86de1a9ec2117 == ITEM_OPENABLE) then BigFootBot_38d8a240b834475ff65cf455553e23c8("USE_CONTAINER_ITEM", BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1, BigFootBot_119c4834cafdb091f67c4f9bee252c55); else BigFootBot_38d8a240b834475ff65cf455553e23c8("USE_CONTAINER_ITEM", BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1, BigFootBot_119c4834cafdb091f67c4f9bee252c55); end break; end end end function BigFootBot_747554354b2774cf1ee68706d9b3c9d5(BigFootBot_6e4d0db7491d6883f86de390d20dbe5b) if ( BigFootBot_6e4d0db7491d6883f86de390d20dbe5b == nil ) then return nil; end local __len = string.len(BigFootBot_6e4d0db7491d6883f86de390d20dbe5b); local BigFootBot_b38a7bb9216803102fdc3d9f7a3d2e84 = 0; local BigFootBot_05a435746a4fa320ec7c59ba02cf6c6a = 0; for __index = 1, __len, 1 do if ( __index % 2 == 0 ) then BigFootBot_05a435746a4fa320ec7c59ba02cf6c6a = BigFootBot_05a435746a4fa320ec7c59ba02cf6c6a + string.byte(BigFootBot_6e4d0db7491d6883f86de390d20dbe5b, __index); else BigFootBot_b38a7bb9216803102fdc3d9f7a3d2e84 = BigFootBot_b38a7bb9216803102fdc3d9f7a3d2e84 + string.byte(BigFootBot_6e4d0db7491d6883f86de390d20dbe5b, __index); end end return ( BigFootBot_b38a7bb9216803102fdc3d9f7a3d2e84 * BigFootBot_05a435746a4fa320ec7c59ba02cf6c6a ); end function BigFootBot_9ab553b90e6d16a065ecd9fa28050257(BigFootBot_7739b813d90aed43ab9d0eb84ec1c1ae) if ( not BigFootBot_7739b813d90aed43ab9d0eb84ec1c1ae or BigFootBot_7739b813d90aed43ab9d0eb84ec1c1ae == "" ) then return 1; else return nil; end end function BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7(...) local a,b,c,d,e = ...; if (BigFootBot_17b0f94858767a7d425ab5ed1f2e522f) then BigFoot_Print(a,nil,b); end end function BigFootBot_332c1af93da0e5517e4f8d60f372fbea() ItemSourceDB = {}; SkillSourceDB = {}; ObjectLocationDB = {}; CreatureLocationDB = {}; CreatureDB = {}; QuestDB = {}; QuestCompleteDB = {}; QuestEventDB = {}; PlayersDB = {}; BigFootBot_Version = {}; NPCMarkCollectionDB = {}; SpamChatDB = {}; end function BigFootBot_OnEvent(self, event, ...) if ( event == "ADDON_LOADED" ) then local BigFootBot_1652701c940a7445a6e43b954d36ec9b = ...; if (BigFootBot_1652701c940a7445a6e43b954d36ec9b == "BigFootBot") then BigFootBot_332c1af93da0e5517e4f8d60f372fbea(); BigFootBot_3d7945e77d6f1e9125a35ae97786669c(); end return; end local BigFootBot_a2f3972c23a0aa3bd7fb0e9823d918f2 = BigFootBot_b74a5b915f413a4e98d7eac5301bb319[event]; if ( BigFootBot_a2f3972c23a0aa3bd7fb0e9823d918f2 ~= nil ) then BigFootBot_a2f3972c23a0aa3bd7fb0e9823d918f2.OnEvent(event, ...); end end function BigFootBot_ae2a819009b39477e0a4806099de2d61(BigFootBot_2e00ffac12aadb3a1fd865993ec505b9) local BigFootBot_15ad1e501e228eb80be1cc7800ab967d; local BigFootBot_a4e435952d7906b01358c3f8f9ff67e8, BigFootBot_f5cb07751fccdf339be4192634943a73; for BigFootBot_a4e435952d7906b01358c3f8f9ff67e8 = 0, 4, 1 do local BigFootBot_566d8b93130d2b0ea0d3d9002bf11519 = GetContainerNumSlots(BigFootBot_a4e435952d7906b01358c3f8f9ff67e8); if (BigFootBot_566d8b93130d2b0ea0d3d9002bf11519 and BigFootBot_566d8b93130d2b0ea0d3d9002bf11519 > 0) then for BigFootBot_f5cb07751fccdf339be4192634943a73 = 1, BigFootBot_566d8b93130d2b0ea0d3d9002bf11519, 1 do BigFootBot_15ad1e501e228eb80be1cc7800ab967d = GetContainerItemLink(BigFootBot_a4e435952d7906b01358c3f8f9ff67e8, BigFootBot_f5cb07751fccdf339be4192634943a73); if (BigFootBot_15ad1e501e228eb80be1cc7800ab967d) then local BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_3a1ef6f800e4bb968210888291a0bb2b(BigFootBot_15ad1e501e228eb80be1cc7800ab967d); if (BigFootBot_8983c60d66c8593ec7165ea9dbedb584 and BigFootBot_2e00ffac12aadb3a1fd865993ec505b9 == BigFootBot_8983c60d66c8593ec7165ea9dbedb584) then return BigFootBot_8d0febf2348ea712b2b375ae95601d5f; end end end end end end function BigFootBot_3f85aa7e51a52ac4f932e202d7825031() local BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_a084c697711d90ce3d55b96b69fa1bc7("npc"); local BigFootBot_7c0579dde96b14da703c6803c42280d9 = BigFootBot_07eb3f3f11fe5173ea6ee0350c0184b7(); local BigFootBot_5b379022334c7648b91ea2dccd7a986f = {}; local BigFootBot_c64510a3505e0d896935ce6b8bd44fd6 = BigFootBot_995463cbd5fce5d50e97d63befbd191c("player"); local BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f; if (not BigFootBot_8983c60d66c8593ec7165ea9dbedb584) then return; end if (BigFootBot_94eb75d518becde368e2486ad53c9cc9("npc")) then if (BigFootBot_af299b66b714765bc68ba44994a46106("npc")) then BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("The quest giver is player, ignored!"); return; end local BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_5b122618d90b150b8238c05b2fb5758a("npc"); if (not BigFootBot_8d0febf2348ea712b2b375ae95601d5f) then return; end BigFootBot_5b379022334c7648b91ea2dccd7a986f["type"] = "creature"; BigFootBot_5b379022334c7648b91ea2dccd7a986f["id"] = BigFootBot_8d0febf2348ea712b2b375ae95601d5f; BigFootBot_5b379022334c7648b91ea2dccd7a986f["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584; elseif (BigFootBot_70723578f5b9c106219e858ec65ceb8b() == "USE_CONTAINER_ITEM" and BigFootBot_9720169c4a9d53da2a83de6dcfc2afbd() < 1) then local BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1, BigFootBot_119c4834cafdb091f67c4f9bee252c55 = BigFootBot_754c925c943d5ef6305add447c647632(); BigFootBot_5b379022334c7648b91ea2dccd7a986f["type"] = "item"; BigFootBot_5b379022334c7648b91ea2dccd7a986f["id"] = BigFootBot_02e197f37b5fcbdf44d6cd81a8547ae1; BigFootBot_5b379022334c7648b91ea2dccd7a986f["name"] = BigFootBot_119c4834cafdb091f67c4f9bee252c55; elseif (not BigFootBot_8983c60d66c8593ec7165ea9dbedb584 and BigFootBot_70723578f5b9c106219e858ec65ceb8b() == "GOSSIP_SHOW" and BigFootBot_9720169c4a9d53da2a83de6dcfc2afbd() < 3) then local BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_754c925c943d5ef6305add447c647632(); BigFootBot_5b379022334c7648b91ea2dccd7a986f["type"] = "object"; BigFootBot_5b379022334c7648b91ea2dccd7a986f["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584; BigFootBot_801f0b56b84b3be6bd76ec896617a3f4(BigFootBot_8983c60d66c8593ec7165ea9dbedb584); elseif (BigFootBot_8983c60d66c8593ec7165ea9dbedb584 and BigFootBot_8983c60d66c8593ec7165ea9dbedb584 ~= "") then local BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_ae2a819009b39477e0a4806099de2d61(BigFootBot_8983c60d66c8593ec7165ea9dbedb584); if (BigFootBot_8d0febf2348ea712b2b375ae95601d5f) then BigFootBot_5b379022334c7648b91ea2dccd7a986f["type"] = "item"; BigFootBot_5b379022334c7648b91ea2dccd7a986f["id"] = BigFootBot_8d0febf2348ea712b2b375ae95601d5f; BigFootBot_5b379022334c7648b91ea2dccd7a986f["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584; else BigFootBot_5b379022334c7648b91ea2dccd7a986f["type"] = "object"; BigFootBot_5b379022334c7648b91ea2dccd7a986f["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584; BigFootBot_801f0b56b84b3be6bd76ec896617a3f4(BigFootBot_8983c60d66c8593ec7165ea9dbedb584); end else BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917(); return; end BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917(); if (BigFootBot_7c0579dde96b14da703c6803c42280d9 and BigFootBot_c64510a3505e0d896935ce6b8bd44fd6 and BigFootBot_5b379022334c7648b91ea2dccd7a986f) then BigFootBot_8431f7fbeaeaf1494191ee5e2a9c3dd6(BigFootBot_7c0579dde96b14da703c6803c42280d9, BigFootBot_c64510a3505e0d896935ce6b8bd44fd6, BigFootBot_5b379022334c7648b91ea2dccd7a986f); end end function BigFootBot_01823f388abbb694852c2a1ecd2155db(BigFootBot_7c0579dde96b14da703c6803c42280d9) local BigFootBot_3c1f472df127f319a92a303942bfdb4c, BigFootBot_dde7210c54ec777a83643ef36441da6d = BigFootBot_4f0e084e618c9626457da4217c865f2e(); local BigFootBot_3519a7e5f937f62f5c33a1fa3545e9b4; for BigFootBot_f3e1a91c00546e1849ec2d211d68da6d = 1, BigFootBot_3c1f472df127f319a92a303942bfdb4c, 1 do local BigFootBot_394a04ccd9dfd24f122a15686923d116, BigFootBot_0db5ab7591386d733b59a51d951e85d0, BigFootBot_73b14f4dd72e5ed916c371429387ea9f, BigFootBot_75c2b3d93557795973985d19ef0ab896, BigFootBot_9a56147b62d970ac9a2d287a2f234e5c, BigFootBot_b7e3a46222ca00a933e138f508353fef, BigFootBot_41a376ceb61e2fd59bafc6c5ebb6a132 = BigFootBot_e930e62703f7c195b12631c515878413(BigFootBot_f3e1a91c00546e1849ec2d211d68da6d); local BigFootBot_f9a34350c7a05c6fb2d5a1ce7476fab4 = GetQuestLogSelection(); SelectQuestLogEntry(BigFootBot_f3e1a91c00546e1849ec2d211d68da6d); if ( BigFootBot_9a56147b62d970ac9a2d287a2f234e5c ) then BigFootBot_3519a7e5f937f62f5c33a1fa3545e9b4 = BigFootBot_394a04ccd9dfd24f122a15686923d116; else if (BigFootBot_394a04ccd9dfd24f122a15686923d116 == BigFootBot_7c0579dde96b14da703c6803c42280d9) then local BigFootBot_15ad1e501e228eb80be1cc7800ab967d = GetQuestLink(BigFootBot_f3e1a91c00546e1849ec2d211d68da6d); local BigFootBot_67037668a0d728d97150455650d1de95 = BigFootBot_c954e9ccb4d9a5524b4c867dfe3f0e48(BigFootBot_15ad1e501e228eb80be1cc7800ab967d); if (BigFootBot_67037668a0d728d97150455650d1de95) then BigFootBot_3608678f902294797efdd49e242b7cb9(BigFootBot_7c0579dde96b14da703c6803c42280d9, BigFootBot_67037668a0d728d97150455650d1de95); end end end SelectQuestLogEntry(BigFootBot_f9a34350c7a05c6fb2d5a1ce7476fab4); end end function BigFootBot_f35d91efaa8975d7f1db54a79b1ee278() local BigFootBot_7c0579dde96b14da703c6803c42280d9 = BigFootBot_07eb3f3f11fe5173ea6ee0350c0184b7(); if (BigFootBot_9ab553b90e6d16a065ecd9fa28050257(BigFootBot_7c0579dde96b14da703c6803c42280d9)) then return; end local BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1 = BigFootBot_a084c697711d90ce3d55b96b69fa1bc7("npc"); if (not BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1) then return; end local BigFootBot_b4d4e0b36de4876a125812756dc68dc6 = {}; if ( BigFootBot_94eb75d518becde368e2486ad53c9cc9("npc") ) then local BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_5b122618d90b150b8238c05b2fb5758a("npc"); if (not BigFootBot_8d0febf2348ea712b2b375ae95601d5f) then return; end BigFootBot_b4d4e0b36de4876a125812756dc68dc6["type"] = "creature"; BigFootBot_b4d4e0b36de4876a125812756dc68dc6["id"] = BigFootBot_8d0febf2348ea712b2b375ae95601d5f; BigFootBot_b4d4e0b36de4876a125812756dc68dc6["name"] = BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1; elseif ( BigFootBot_5483abb4f32490f785f220041570443d == BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1 ) then BigFootBot_b4d4e0b36de4876a125812756dc68dc6["type"] = "item"; BigFootBot_b4d4e0b36de4876a125812756dc68dc6["name"] = BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1; elseif (BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1 and BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1 ~= "") then BigFootBot_b4d4e0b36de4876a125812756dc68dc6["type"] = "object"; BigFootBot_b4d4e0b36de4876a125812756dc68dc6["name"] = BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1; BigFootBot_801f0b56b84b3be6bd76ec896617a3f4(BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1); elseif (not BigFootBot_6e16292dc30e2f15093ecb41c9f16cb1 and BigFootBot_70723578f5b9c106219e858ec65ceb8b() == "GOSSIP_SHOW" and BigFootBot_9720169c4a9d53da2a83de6dcfc2afbd() < 3) then local BigFootBot_8983c60d66c8593ec7165ea9dbedb584 = BigFootBot_754c925c943d5ef6305add447c647632(); BigFootBot_b4d4e0b36de4876a125812756dc68dc6["type"] = "object"; BigFootBot_b4d4e0b36de4876a125812756dc68dc6["name"] = BigFootBot_8983c60d66c8593ec7165ea9dbedb584; BigFootBot_801f0b56b84b3be6bd76ec896617a3f4(BigFootBot_8983c60d66c8593ec7165ea9dbedb584); else BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917(); return; end BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917(); local BigFootBot_3c1f472df127f319a92a303942bfdb4c, BigFootBot_dde7210c54ec777a83643ef36441da6d = BigFootBot_4f0e084e618c9626457da4217c865f2e(); for BigFootBot_f3e1a91c00546e1849ec2d211d68da6d = 1, BigFootBot_3c1f472df127f319a92a303942bfdb4c, 1 do local BigFootBot_394a04ccd9dfd24f122a15686923d116, BigFootBot_0db5ab7591386d733b59a51d951e85d0, BigFootBot_73b14f4dd72e5ed916c371429387ea9f, BigFootBot_9a56147b62d970ac9a2d287a2f234e5c, BigFootBot_b7e3a46222ca00a933e138f508353fef, BigFootBot_41a376ceb61e2fd59bafc6c5ebb6a132 = BigFootBot_e930e62703f7c195b12631c515878413(BigFootBot_f3e1a91c00546e1849ec2d211d68da6d); if ( BigFootBot_394a04ccd9dfd24f122a15686923d116 == BigFootBot_7c0579dde96b14da703c6803c42280d9 ) then local BigFootBot_15ad1e501e228eb80be1cc7800ab967d = GetQuestLink(BigFootBot_f3e1a91c00546e1849ec2d211d68da6d); local BigFootBot_67037668a0d728d97150455650d1de95 = BigFootBot_c954e9ccb4d9a5524b4c867dfe3f0e48(BigFootBot_15ad1e501e228eb80be1cc7800ab967d) if (BigFootBot_67037668a0d728d97150455650d1de95) then BigFootBot_622b71eb933728537e95c241652cdd55(BigFootBot_7c0579dde96b14da703c6803c42280d9, BigFootBot_67037668a0d728d97150455650d1de95, BigFootBot_b4d4e0b36de4876a125812756dc68dc6); end end end end function BigFootBot_2f1a52b1eed0a05e83a3d35399629d49(BigFootBot_7c0579dde96b14da703c6803c42280d9, BigFootBot_d952f5d4de31262f2d41ea5062daacff, BigFootBot_a4ca2514d90c3860482c18eb7bc8be05) if ( not BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388 ) then return; end if ( BigFootBot_7c0579dde96b14da703c6803c42280d9 ~= BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388["name"] ) then BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[CommitQuestCompleteInfo] : bad quest complete info found."); return; end local BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388["id"]; if (QuestCompleteDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]) then return; end QuestCompleteDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f] = BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388; QuestCompleteDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["xp"] = BigFootBot_d952f5d4de31262f2d41ea5062daacff; QuestCompleteDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]["reputations"] = BigFootBot_a4ca2514d90c3860482c18eb7bc8be05; BigFootBot_4542cccc29c1b8a5651a29ebfc0c8388 = nil; BigFootBot_675afe2f8e162ad09275dd7f2c52a4a7("[CommitQuestCompleteInfo] : ", QuestCompleteDB[BigFootBot_8d0febf2348ea712b2b375ae95601d5f]); end function BigFootBot_dfc2fda698ccb7b7bb78165e0bb50a3e() if (BigFootBot_a3130e0fce8cdca07d22015fd62cd9cf) then BigFootBot_2f1a52b1eed0a05e83a3d35399629d49(BigFootBot_a3130e0fce8cdca07d22015fd62cd9cf, BigFootBot_ad966be98aaad4f45d39548ff7fffd27, BigFootBot_7de456cd9c620ce1031e8ea9ce778945); BigFootBot_a3130e0fce8cdca07d22015fd62cd9cf = nil; BigFootBot_ad966be98aaad4f45d39548ff7fffd27 = nil; BigFootBot_7de456cd9c620ce1031e8ea9ce778945 = nil; end end function BigFootBot_aa9d51bc9acf403af200763f6afc0850(...) BigFootBot_a3130e0fce8cdca07d22015fd62cd9cf = BigFootBot_07eb3f3f11fe5173ea6ee0350c0184b7(); BigFootBot_ad966be98aaad4f45d39548ff7fffd27 = 0; BigFootBot_7de456cd9c620ce1031e8ea9ce778945 = nil; BigFootBot_dd57c85adad9ca5a14e54ec25d5163c8(BigFootBot_dfc2fda698ccb7b7bb78165e0bb50a3e, 1); end function BigFootBot_a084c697711d90ce3d55b96b69fa1bc7(...) local args = {BigFootBot_f9502a8d8c8cdcfddbfafe0397e93417(...)}; if (not args or table.maxn(args) == 0) then return; end if (not args[1] or args[1] == "" or args[1] == UNKNOWNOBJECT or args[1] == UNKNOWNBEING) then return; end return unpack(args); end function BigFootBot_5b122618d90b150b8238c05b2fb5758a(BigFootBot_fd724fd3c5e25aaf3b4226e1dae5257c) local BigFootBot_18143855ca473518291feae87d7a01c1 = UnitGUID(BigFootBot_fd724fd3c5e25aaf3b4226e1dae5257c); if (BigFootBot_18143855ca473518291feae87d7a01c1) then local BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3, BigFootBot_8d0febf2348ea712b2b375ae95601d5f = BigFootBot_efceebaadc4f306ce68f27be7441d9e5(BigFootBot_18143855ca473518291feae87d7a01c1); if (BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 == 3) then return BigFootBot_8d0febf2348ea712b2b375ae95601d5f; end end end function BigFootBot_3fe07dfb86efa3f5246d7362ab3eb917() BigFootBot_bdc9ae74688c4995a22e5ff111f31b80 = nil; end function BigFootBot_38d8a240b834475ff65cf455553e23c8(BigFootBot_f417b525a1892f289d238283f35ac1ad, ...) if not BigFootBot_bdc9ae74688c4995a22e5ff111f31b80 then BigFootBot_bdc9ae74688c4995a22e5ff111f31b80 = {}; end BigFootBot_bdc9ae74688c4995a22e5ff111f31b80.action = BigFootBot_f417b525a1892f289d238283f35ac1ad; BigFootBot_bdc9ae74688c4995a22e5ff111f31b80.args = {...}; BigFootBot_bdc9ae74688c4995a22e5ff111f31b80.time = GetTime(); end function BigFootBot_754c925c943d5ef6305add447c647632() if (BigFootBot_bdc9ae74688c4995a22e5ff111f31b80) then return unpack(BigFootBot_bdc9ae74688c4995a22e5ff111f31b80.args); end end function BigFootBot_70723578f5b9c106219e858ec65ceb8b() if (BigFootBot_bdc9ae74688c4995a22e5ff111f31b80) then return BigFootBot_bdc9ae74688c4995a22e5ff111f31b80.action; end end function BigFootBot_9720169c4a9d53da2a83de6dcfc2afbd() if (BigFootBot_bdc9ae74688c4995a22e5ff111f31b80) then return (GetTime() - BigFootBot_bdc9ae74688c4995a22e5ff111f31b80.time); end end function BigFootBot_21f0b38330eefb093a878a1df52d90d8(BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3, BigFootBot_8d0febf2348ea712b2b375ae95601d5f, BigFootBot_49ccc92cd1bef60d860c1c7f84aaab89, BigFootBot_7e7860987b220bb966092ef46f8a8f44) if (not BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 or not BigFootBot_8d0febf2348ea712b2b375ae95601d5f) then return; end local BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887 = BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 .. ":" .. BigFootBot_8d0febf2348ea712b2b375ae95601d5f; if (not BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]) then BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887] = {}; BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]["count"] = 0; BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]["callbacks"] = {}; end for BigFootBot_63a9ce6f1eeac72ef41293b7d0303335, BigFootBot_8d0644c92128c1ff68223fd74ba63b56 in ipairs(BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]["callbacks"]) do if (BigFootBot_8d0644c92128c1ff68223fd74ba63b56[1] == BigFootBot_49ccc92cd1bef60d860c1c7f84aaab89 and BigFootBot_8d0644c92128c1ff68223fd74ba63b56[2] == BigFootBot_7e7860987b220bb966092ef46f8a8f44) then return; end end BigFootBot_49ccc92cd1bef60d860c1c7f84aaab89[BigFootBot_7e7860987b220bb966092ef46f8a8f44] = BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]["count"]; table.insert(BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]["callbacks"], {BigFootBot_49ccc92cd1bef60d860c1c7f84aaab89, BigFootBot_7e7860987b220bb966092ef46f8a8f44}); end function BigFootBot_8be17c0c368c96c8794051a40469c0dd(BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3, BigFootBot_8d0febf2348ea712b2b375ae95601d5f) if (not BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 or not BigFootBot_8d0febf2348ea712b2b375ae95601d5f) then return; end local BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887 = BigFootBot_6d5e7d83d8358745ae4dcf61d16bd1f3 .. ":" .. BigFootBot_8d0febf2348ea712b2b375ae95601d5f; if (not BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]) then BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887] = {}; BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]["count"] = 0; BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]["callbacks"] = {}; end BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]["count"] = BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]["count"] + 1; for BigFootBot_63a9ce6f1eeac72ef41293b7d0303335, BigFootBot_8d0644c92128c1ff68223fd74ba63b56 in ipairs(BigFootBot_ff9016693c0b7766229785abb17eee87[BigFootBot_413bf9c15ce77baa8ebf1cda4cbf4887]["callbacks"]) do local BigFootBot_6c5560108ad7aaf47e811081394a00b4 = BigFootBot_8d0644c92128c1ff68223fd74ba63b56[1]; BigFootBot_6c5560108ad7aaf47e811081394a00b4[BigFootBot_8d0644c92128c1ff68223fd74ba63b56[2]] = BigFootBot_6c5560108ad7aaf47e811081394a00b4[BigFootBot_8d0644c92128c1ff68223fd74ba63b56[2]] + 1; end end function BigFootBot_c08d24e2e3261109ee19c817a2fb662a() UtilDB.M= UtilDB.M or {} local BigFootBot_d60c805197979040f6068082c1f2818a = GetInboxNumItems() local BigFootBot_6cb9feb40840a2ab08f39eec8cc106e5 = 0 local BigFootBot_20092e833e3b50046f9487703751b2cb = 0 local BigFootBot_ad8c3729cc8cdde9ae479d8cc17df373 = 0 local BigFootBot_5974c5d82148c4ed669921a386a7a80c = 0 local BigFootBot_d618d12b49525e822d6af78b4958b120,BigFootBot_8f34c9c48cf1571af2f4c3e98d09a9e4,BigFootBot_a8b4c6fe737a4810222f04f6d37589b6,BigFootBot_8983c60d66c8593ec7165ea9dbedb584,BigFootBot_338ba3af568cfc03a5cef209704bd588,BigFootBot_6cad7a2aeb24618da0283adb2fd6d830 BigFootBot_8983c60d66c8593ec7165ea9dbedb584,BigFootBot_338ba3af568cfc03a5cef209704bd588 = BigFootBot_f9502a8d8c8cdcfddbfafe0397e93417("player") if not BigFootBot_338ba3af568cfc03a5cef209704bd588 then BigFootBot_338ba3af568cfc03a5cef209704bd588 = GetRealmName() or "" end BigFootBot_6cad7a2aeb24618da0283adb2fd6d830 = date() for i = 1, BigFootBot_d60c805197979040f6068082c1f2818a do _,_,BigFootBot_a8b4c6fe737a4810222f04f6d37589b6,_,_,_,_,_,BigFootBot_d618d12b49525e822d6af78b4958b120,_,_,_,BigFootBot_8f34c9c48cf1571af2f4c3e98d09a9e4= GetInboxHeaderInfo(i) if BigFootBot_a8b4c6fe737a4810222f04f6d37589b6 == BIGFOOTBOT_AUCTION_HORDE or BigFootBot_a8b4c6fe737a4810222f04f6d37589b6 == BIGFOOTBOT_AUCTION_ALLI or BigFootBot_a8b4c6fe737a4810222f04f6d37589b6 == BIGFOOTBOT_AUCTION_NEUTRAL or BigFootBot_8f34c9c48cf1571af2f4c3e98d09a9e4 then if BigFootBot_d618d12b49525e822d6af78b4958b120 then BigFootBot_ad8c3729cc8cdde9ae479d8cc17df373 = BigFootBot_ad8c3729cc8cdde9ae479d8cc17df373 + 1 else BigFootBot_5974c5d82148c4ed669921a386a7a80c = BigFootBot_5974c5d82148c4ed669921a386a7a80c + 1 end else if BigFootBot_d618d12b49525e822d6af78b4958b120 then BigFootBot_6cb9feb40840a2ab08f39eec8cc106e5 = BigFootBot_6cb9feb40840a2ab08f39eec8cc106e5 + 1 else BigFootBot_20092e833e3b50046f9487703751b2cb = BigFootBot_20092e833e3b50046f9487703751b2cb + 1 end end end UtilDB.M.NumSysRead = BigFootBot_ad8c3729cc8cdde9ae479d8cc17df373 UtilDB.M.NumSysUnread = BigFootBot_5974c5d82148c4ed669921a386a7a80c UtilDB.M.NumNormalRead = BigFootBot_6cb9feb40840a2ab08f39eec8cc106e5 UtilDB.M.NumNormalUnread = BigFootBot_20092e833e3b50046f9487703751b2cb UtilDB.M.MD5 = BMath:MD5(BigFootBot_8983c60d66c8593ec7165ea9dbedb584..BigFootBot_338ba3af568cfc03a5cef209704bd588..BigFootBot_6cad7a2aeb24618da0283adb2fd6d830) end local function BigFootBot_403440048cb205bd2707f567421a267a(BigFootBot_7739b813d90aed43ab9d0eb84ec1c1ae) if ( BigFootBot_7739b813d90aed43ab9d0eb84ec1c1ae == 1 ) then for __index, BigFootBot_2361bab8b48b1041ad740bb561b21aee in pairs(BigFootBot_b74a5b915f413a4e98d7eac5301bb319) do BigFootBotFrame:RegisterEvent(__index); end if (not BigFootBot_aff9d44757eda069e077ec751873021e) then BigFootBot_aff9d44757eda069e077ec751873021e = {}; for BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f = 1, BigFootBot_037a9cf7b2ec50115f2f8329dd04840d() do local BigFootBot_8983c60d66c8593ec7165ea9dbedb584, _, BigFootBot_75382e19171e88da1619bd6dbd6f4b36, _, _, _, _, _, BigFootBot_bd58786d94a7654001104ccaba82bfed = BigFootBot_8fc4b7e1a0de79e749494692f6af7d8b(BigFootBot_e914904fab9d05d3f54d52bfc31a0f3f); if (not BigFootBot_bd58786d94a7654001104ccaba82bfed) then if BigFootBot_8983c60d66c8593ec7165ea9dbedb584 then BigFootBot_aff9d44757eda069e077ec751873021e[BigFootBot_8983c60d66c8593ec7165ea9dbedb584] = BigFootBot_75382e19171e88da1619bd6dbd6f4b36; end end end end hooksecurefunc("UseContainerItem", BigFootBot_917e04a54037312443e82eeb035f2872); hooksecurefunc("GetQuestReward", BigFootBot_aa9d51bc9acf403af200763f6afc0850); BigFoot_DelayCall(BigFootBot_f5f6341b05d5e1168f6c90bda565989d, 10); BigFootBotFrame:RegisterEvent("ADDON_LOADED"); else for __index, BigFootBot_2361bab8b48b1041ad740bb561b21aee in pairs(BigFootBot_b74a5b915f413a4e98d7eac5301bb319) do BigFootBotFrame:UnregisterEvent(__index) end BigFootBotFrame:UnregisterEvent("ADDON_LOADED"); end end function BigFootBot_OnUpdate(self, BigFootBot_0160ce060565362532dda1b97095ec1d) if (BigFootBotFrame.callroutine) then for __index, BigFootBot_2361bab8b48b1041ad740bb561b21aee in pairs(BigFootBotFrame.callroutine) do BigFootBot_2361bab8b48b1041ad740bb561b21aee["lastUpdate"] = BigFootBot_2361bab8b48b1041ad740bb561b21aee["lastUpdate"] + BigFootBot_0160ce060565362532dda1b97095ec1d; if ( BigFootBot_2361bab8b48b1041ad740bb561b21aee["lastUpdate"] > BigFootBot_2361bab8b48b1041ad740bb561b21aee["delay"] ) then BigFootBot_2361bab8b48b1041ad740bb561b21aee["func"](BigFootBot_2361bab8b48b1041ad740bb561b21aee["arg1"], BigFootBot_2361bab8b48b1041ad740bb561b21aee["arg2"], BigFootBot_2361bab8b48b1041ad740bb561b21aee["arg3"], BigFootBot_2361bab8b48b1041ad740bb561b21aee["arg4"], BigFootBot_2361bab8b48b1041ad740bb561b21aee["arg5"], BigFootBot_2361bab8b48b1041ad740bb561b21aee["arg6"], BigFootBot_2361bab8b48b1041ad740bb561b21aee["arg7"], BigFootBot_2361bab8b48b1041ad740bb561b21aee["arg8"], BigFootBot_2361bab8b48b1041ad740bb561b21aee["arg9"]); table.remove(BigFootBotFrame.callroutine, __index); end end end end function BigFootBot_OnLoad(self) BigFootBot_403440048cb205bd2707f567421a267a(1); end local _time local _realm = GetRealmName() local _factionGroup = BigFootBot_eb8c30e8341a231bec51d9f153e7f02e("player") local function collectionMessage(self,event,msg,player) if (not _time or (time() - _time) > 300) and (strsub(event, 1, 8) == "CHAT_MSG") and player and msg then _time = time() if not SpamChatDB then SpamChatDB = {} end SpamChatDB[_time] = {} SpamChatDB[_time].name = player SpamChatDB[_time].content = msg SpamChatDB.realm = _realm SpamChatDB.factionGroup = _factionGroup end end ChatFrame_AddMessageEventFilter("CHAT_MSG_CHANNEL",collectionMessage) local BigFootBot_CollectionFrame = CreateFrame("Frame") function BigFootBot_RegisterData(key,callbackfunc,...) assert(type(key)=="string") BigFootBot_collectData[key] = BigFootBot_collectData[key] or {} local events = {...}; assert(type(callbackfunc)=="function") for _,event in pairs(events) do if not BigFootBot_CollectionFrame[event] then BigFootBot_CollectionFrame:RegisterEvent(event) BigFootBot_CollectionFrame[event] = {} BigFootBot_CollectionFrame[event][key] = callbackfunc else BigFootBot_CollectionFrame[event][key] = callbackfunc end end end BigFootBot_CollectionFrame:SetScript("OnEvent", function(_,event,...) if BigFootBot_CollectionFrame[event] then for key,func in pairs(BigFootBot_CollectionFrame[event]) do if type(func) =="function" then BigFootBot_collectData[key]=func(BigFootBot_collectData[key] or {},...) end end end end) local function BigFootBot_b3ea9b743e77b9c762ddeabde346d341(t_data,...) local t_data =t_data; if UnitIsWildBattlePet("mouseover") and CheckInteractDistance("mouseover",2) then local map,mapzone,x,y = BigFootBot_39ccb9dd96cbf64a01ea8fae451c8a33() local name,level,_typeId,guid local mapLevel = GetCurrentMapDungeonLevel() name = UnitName("mouseover") _typeId = UnitBattlePetType("mouseover") level = UnitBattlePetLevel("mouseover") guid = UnitGUID("mouseover") if not t_data[guid] then t_data[guid] = {} end t_data[guid] = { Name = name, TypeId = _typeId, Level = level, Map = map, MapLevel = mapLevel, MapZone = mapzone, X = x, Y = y } end return t_data end BigFootBot_RegisterData("WildBattlePetData",BigFootBot_b3ea9b743e77b9c762ddeabde346d341,"UPDATE_MOUSEOVER_UNIT") local function BigFootBot_38c682e12e5bca364c4943570dbfd645(t_data,...) local t_data = t_data local numPets = C_PetBattles.GetNumPets(2) for i=1,numPets do local name,speciesName,level,health,maxHealth,attack,speed,enemyPetType,PetType,StyPetType = BigFoot_GetBattlePetData(2,i) local t_elem = { name = name, speciesName = speciesName, level = level, health = health, maxHealth = maxHealth, attack = attack, speed = speed, enemyPetType = enemyPetType, PetType = PetType, StyPetType = StyPetType, } t_data[speciesName] = t_elem end return t_data end BigFootBot_RegisterData("CombatBattlePetData",BigFootBot_38c682e12e5bca364c4943570dbfd645,"PET_BATTLE_OPENING_DONE") 
